summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2010-09-20 18:26:33 -0600
committerFather Chrysostomos <sprout@cpan.org>2010-09-22 22:48:08 -0700
commit855088127b85a7b03f3833b2274d4f26946f203d (patch)
tree7f3a20881cc964dd6a60063323aede3d22fcf22c /regexp.h
parentd0dcc4028a160eba03640da1ff1d34087f930ec1 (diff)
downloadperl-855088127b85a7b03f3833b2274d4f26946f203d.tar.gz
Change to use mnemonic instead of char constant
The new '^' in (?^...) should really be a macro.
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/regexp.h b/regexp.h
index 198b51017c..17f998310e 100644
--- a/regexp.h
+++ b/regexp.h
@@ -247,6 +247,7 @@ and check for NULL.
* for compatibility reasons with Regexp::Common which highjacked (?k:...)
* for its own uses. So 'k' is out as well.
*/
+#define DEFAULT_PAT_MOD '^' /* Short for all the default modifiers */
#define EXEC_PAT_MOD 'e'
#define KEEPCOPY_PAT_MOD 'p'
#define ONCE_PAT_MOD 'o'