Added note on PCRE backreferences

posixStyleMatching
Aadhavan Srinivasan 1 month ago
parent ff250338b4
commit 68a3581d93

@ -0,0 +1,7 @@
In PCRE, following a backreference by _any_ number seems to turn it into an octal value. Why is this?
Eg.
`(a)\1` <-- Backreference
`(a)\17` <-- Octal '17'
`(a)\19` <-- Octal 1, then literal 9
`(a)\1a` <-- Backreference, then 'a'
Loading…
Cancel
Save