> To get this to also work with just the year you may replace [^\d] with
> (?:[^\d]|$) which expects a non-digit or the end of the string

Or even better.... Replace [^\d] with \b which should also work.

regards

Claudius

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to