ossp-pkg/rc/rc_const.h 1.38 -> 1.39
--- rc_const.h 2003/07/11 13:47:13 1.38
+++ rc_const.h 2003/07/11 14:03:53 1.39
@@ -157,7 +157,7 @@
#define RC_DEF_ON "1" /* Digital switch */
#define RC_DEF_OFF "0" /* Digital switch */
#define RC_DEF_TMP "/tmp" /* Temporary directory name */
-#define RC_DEF_DEF "(?:^|\\n)%(\\w+)[ \\t]*(.*?)\\n(.*?)(?:\\n%|$)" /* Section definition */
+#define RC_DEF_DEF "^%(\\w+)[ \t]*(.*?)\\n(.*?)^$" /* Section definition */
#define RC_DEF_NCF "config" /* Config section name */
#define RC_DEF_CMN "common" /* Common section name */
#define RC_DEF_UIG "-u" /* Section user string */
|
|