You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kleingrep/noteOnPCREBackreferences.txt

8 lines
231 B
Plaintext

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'