aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDmitry Mikhirev2015-02-15 15:10:15 +0300
committerDmitry Mikhirev2015-02-15 15:10:15 +0300
commite6f7aee8c27d87047857b9daf0075e90062b4ac2 (patch)
tree0c2876dce16c20a7ae938a7314dfa8c0e1d3dbfe /README.md
parent15f22648cd99f392ac5cab6afeec2a0e97b85c6d (diff)
downloadmake_pcre-e6f7aee8c27d87047857b9daf0075e90062b4ac2.tar.gz
make_pcre-e6f7aee8c27d87047857b9daf0075e90062b4ac2.tar.bz2
make_pcre-e6f7aee8c27d87047857b9daf0075e90062b4ac2.tar.xz
make_pcre-e6f7aee8c27d87047857b9daf0075e90062b4ac2.zip
added php-like options `A' and `D'
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9b3e3a2..6fc02d9 100644
--- a/README.md
+++ b/README.md
@@ -104,6 +104,10 @@ of one ore more characters, each of which enables some option:
The following options are implemented:
+- `A` makes expression anchored, i. e. constrained to match only at the first
+ matching point in the string. The same as in PHP;
+- `D` forces a `$` metacharacter to match only before a newline at the end
+ of the string, not before any other newlines. The same as in PHP;
- `E` enables expansion of pattern before compilation. Note that you will need
to use `$$` instead `$` for matching end of line in this case;
- `g` enables global search, like in Perl. `pcre_find` will return space