hello all!
I'd like to request for help with this regexp. I want match
these examples:
word word
3 word word
3 word word en
3 word word en,pt
3 word word en,pt 1cd
ok, here is regexp I wrote:
^\s*(\d{1,2}\s+)?([\w\s\+:]+)(sq|hy|ay|bs|bg|hr|cs|da|nl|en|et|fi|fr|de|gr|he|hu|zh|it|ja|kk|lv|pl|pt|pb|ro|ru|sr|sk|sl|es|sv|th|tr|uk|al|\s*,\s*)*\s*(?:(\d)cd)?$
problem is, I can't get "en,pt" together, "en" is mathed to $2.
Anyone will help me on this, please ?
Thanks
/brano
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>