|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: A small comma parsing problem...by hgolden (Pilgrim) |
| on Oct 03, 2006 at 11:23 UTC ( [id://576102]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Hey The problem isn't that the other languages are buried without spaces. The problem is that you've used the ^ metacharacter which means that the language has to be at the beginning of the string. If you remove that, the search will work (as long as you don't have the name of one language embedded in another).If you're worried about that, you can split the languages string by commas and search among the results, or set up a more complicated regular expression. Hays
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||