View Single Post
Old 03-08-2011, 12:33 PM   #1
Mixx
Zealot
Mixx has a complete set of Star Wars action figures.Mixx has a complete set of Star Wars action figures.Mixx has a complete set of Star Wars action figures.Mixx has a complete set of Star Wars action figures.
 
Posts: 143
Karma: 387
Join Date: Sep 2010
Device: Kindle 3
Is this as it supposed to be? (Regexp issue?)

Hi,

I just noticed something: if I do a search&replace on the author

Björn, Weiße (made it up for the example's sake)

with the regexp

Code:
(\w+), (\w+)
and replace it with

Code:
|\1|\2|
I get
Code:
Weiß|e|Bj|örn
Is this as it should be? My LOCALE is currently German and would not one have to get a match for ö and ß on regexp \w? They seem to be treated as non-alphabetic characters.

Thanxx, Mixx

PS: On "Weisse, Bjoern" I do get "|Weisse|Bjoern|", of course.
Mixx is offline   Reply With Quote