In the Help for Regular Expressions, it states
Also, in the "Sample Regular Expressions" section:
From the forums, it seems that the correct syntax is to use $1, not \1.
It's never easy to setup a complicated Regular Expression, but if the help file tells you the wrong syntax then it's going to be impossible.
So, could you update the help files for Regular Expressions please?
BC v3.1.11
Metacharacters - Back References
Each sequence of characters which is matched within a "()" will be saved as a subexpression, which you can refer to later with \1 to \9, which refer to the subexpressions from left to right. b(.)\1n will match "been" and "boon", but not "bean", "ben" or "beeen".
Each sequence of characters which is matched within a "()" will be saved as a subexpression, which you can refer to later with \1 to \9, which refer to the subexpressions from left to right. b(.)\1n will match "been" and "boon", but not "bean", "ben" or "beeen".
\1 Back reference to 1st subexpression
It's never easy to setup a complicated Regular Expression, but if the help file tells you the wrong syntax then it's going to be impossible.
So, could you update the help files for Regular Expressions please?
BC v3.1.11
Comment