Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: A small comma parsing problem...

by hgolden (Pilgrim)
on Oct 03, 2006 at 15:23 UTC ( [id://576102]=note: print w/replies, xml ) Need Help??


in reply to A small comma parsing problem...

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

Replies are listed 'Best First'.
Re^2: A small comma parsing problem...
by chinamox (Scribe) on Oct 03, 2006 at 16:19 UTC
    *smacks head* Thank one of the hardest things for me with learning Perl is keeping an eye out for the small things...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://576102]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2025-05-24 22:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.