#6042 closed Bugs (fixed)
regex: Exception for: wregex exp(L"fo(o|b)ar \\1", regbase::extended)
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | regex |
Version: | Boost 1.47.0 | Severity: | Not Applicable |
Keywords: | Cc: |
Description
This line of code gives an exception:
wregex exp(L"fo(o|b)ar \\1", regbase::extended);
It seems to be the \1
part that cause the problem.
(Running in a 32bit program on a 64bit Windows 7).
Change History (2)
comment:1 by , 11 years ago
Resolution: | → fixed |
---|---|
Severity: | Showstopper → Not Applicable |
Status: | new → closed |
comment:2 by , 11 years ago
Right - POSIX extended regular expressions don't support backreferences - use Perl compatible re's if you want that feature.
Note:
See TracTickets
for help on using tickets.
Sorry I now realize that
regbase::extended
includesregbase::no_bk_refs
.