Thanks TT for the note!

On Friday, August 30, 2019 at 2:28:28 PM UTC+4:30, @TiddlyTweeter wrote:
>
> *Note on "word" boundaries: \b & its limits*
>
> *"\b"* = "word-boundary" is an anchor that is *complementary to "\w"*.
>
> \b is shorthand for "before or after the characters [a-zA-Z0-9_]". 
>
> In regular expressions "cat", "cat9", "cat_9" and "999" are all "words". 
> *"Über" is NOT a word* in regex because \b won't match accented letters. 
> On "Über" the regex (\b\w+\b) will return "ber".
>
>
> So if you work in languages other than English this is good to know to save 
> hassle.
>
>
> TT
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c6c14e51-0320-4f32-bca8-93764f71efe0%40googlegroups.com.

Reply via email to