summaryrefslogtreecommitdiff
path: root/doc/RE
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-23 10:18:42 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-23 10:18:42 +0200
commit995dfd20e78ad16cec678df25422ce032650e3aa (patch)
treef4c5abd77f4edce4a752311c7fc5b837fcb07fe2 /doc/RE
parent9c10d3a428f2e33d01e1ea66932d272ac731787f (diff)
New upstream version 6.4.0upstream/6.4.0
Diffstat (limited to 'doc/RE')
-rw-r--r--doc/RE7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/RE b/doc/RE
index 1685415..729e71c 100644
--- a/doc/RE
+++ b/doc/RE
@@ -1,4 +1,4 @@
-Oniguruma Regular Expressions Version 6.3.0 2017/05/19
+Oniguruma Regular Expressions Version 6.4.0 2017/06/28
syntax: ONIG_SYNTAX_RUBY (default)
@@ -237,6 +237,8 @@ syntax: ONIG_SYNTAX_RUBY (default)
\n \k<n> \k'n' (n >= 1) backreference the nth group in the regexp
\k<-n> \k'-n' (n >= 1) backreference the nth group counting
backwards from the referring position
+ \k<+n> \k'+n' (n >= 1) backreference the nth group counting
+ forwards from the referring position
\k<name> \k'name' backreference a group with the specified name
When backreferencing with a name that is assigned to more than one groups,
@@ -286,8 +288,11 @@ syntax: ONIG_SYNTAX_RUBY (default)
that group."
\g<n> \g'n' (n >= 1) call the nth group
+ \g<0> \g'0' call zero (call the total regexp)
\g<-n> \g'-n' (n >= 1) call the nth group counting backwards from
the calling position
+ \g<+n> \g'+n' (n >= 1) call the nth group counting forwards from
+ the calling position
\g<name> \g'name' call the group with the specified name
* Left-most recursive calls are not allowed.