Issue #SCB2416
Ronny Voelker <[email protected]>
| Newsgroups | gmane.comp.java.scarab.issues |
|---|---|
| Message-ID | <[email protected]> |
Activity report on *Defect SCB2416 - Illegal regular expression for stripping special chars in search and wrong relative date alghoritm* Scarab Link: http://www.solitone.org/scarab/issues/id/SCB2416 Module: Scarab Activity generated by Ronny Voelker ([email protected]) at 10/25/2007 00:53 *Comments* - By Ronny Voelker - 10/25/2007 00:53 --- "The patch is ok. I have just one issue with the new regular expression: The regexp in the patch is a bit bulky and probably always incomplete, because there are a lot more special characters than included in the regexp. In my understanding the regular expression should convert all non-letter-characters to a white space. What was the problem with the original regular expression([^\w]+)? Did it not work propperly with cyrillic letters? If this is the case I would try a unicode sensitive regular expression ([^p{Alphabetic}]+). (http://www.icu-project.org/docs/papers/iuc26_regexp.pdf) "