about summary refs log tree commit diff
path: root/src/locale/ispunct_l.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-04-13 19:50:58 -0400
committerRich Felker <dalias@aerifal.cx>2012-04-13 19:50:58 -0400
commit386b34a07bc65b6b0627d04105f60fb5fa79df33 (patch)
treedb6f140875f61e8e68655a757d8b4665b8ee7fcf /src/locale/ispunct_l.c
parentb6dbdc69b6d969b416428e0eb467eefbe5a7837f (diff)
downloadmusl-386b34a07bc65b6b0627d04105f60fb5fa79df33.tar.gz
musl-386b34a07bc65b6b0627d04105f60fb5fa79df33.tar.xz
musl-386b34a07bc65b6b0627d04105f60fb5fa79df33.zip
remove invalid code from TRE
TRE wants to treat + and ? after a +, ?, or * as special; ? means
ungreedy and + is reserved for future use. however, this is
non-conformant. although redundant, these redundant characters have
well-defined (no-op) meaning for POSIX ERE, and are actually _literal_
characters (which TRE is wrongly ignoring) in POSIX BRE mode.

the simplest fix is to simply remove the unneeded nonstandard
functionality. as a plus, this shaves off a small amount of bloat.
Diffstat (limited to 'src/locale/ispunct_l.c')
0 files changed, 0 insertions, 0 deletions