diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-03-30 04:29:04 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-03-30 04:29:04 +0200 |
commit | 4d0a446123daebf8d9de77f5359e49229fe1eeb8 (patch) | |
tree | 9d92b3ed633ac6b009acaba62be6b4a34237aa85 /sys/src/libregexp/regexec.c | |
parent | cde97a4d5f17fe597cc55aa4653082bf2c01598c (diff) |
grep: fix wrong rlcass splitting (thanks erik and kenji)
add 0xffff to tab1 as range 0xffff-0x10ffff has 4 byte utf-8 sequence.
use Runemax (0x10ffff) instead of Runemask (0x1fffff) to denote
the last valid rune for inverted [^] match as Runemask is out of the
valid rune space.
Diffstat (limited to 'sys/src/libregexp/regexec.c')
0 files changed, 0 insertions, 0 deletions