Python regular expression question!

unexpected sumesh.chopra at gmail.com
Wed Sep 20 14:16:59 EDT 2006


> \b matches the beginning/end of a word (characters a-zA-Z_0-9).
> So that regex will match e.g. MULTX-FOO but not MULTX-.
> 

So is there a way to get \b to include - ?




More information about the Python-list mailing list