Dave Mielke <[email protected]> writes: > Perhaps I should go ahead and implement it with the comma restriction for now > just so that it can be used. We can always solve that one later.
Agreed. > >There will be a problem though if the regex engine thinks that input is > >ASCII, > >but in reality is UTF-8, because then it mismatches everything that is > >supposed to match one character (e.g. "." (a dot)). > Preprocessing can handle this. All we need to do is search the string for > multi-byte UTF-8 characters, and enclose each within a hidden subgroup, e.g. > (?:character). This seems to work even inside square brackets, great. But it probably does not help if the pattern contains a dot to match a single character, which happens to be a non-ASCII character in the input. E.g. a pattern ".> " will not match "λ> ". Am Iright? -- Aura _______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: [email protected] For general information, go to: http://brltty.app/mailman/listinfo/brltty
