Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Pattern Match

by Ratazong (Monsignor)
on Jun 08, 2017 at 06:21 UTC ( #1192328=note: print w/replies, xml ) Need Help??

in reply to Pattern Match

Dear Nansh,

the main reason why the dotstar is considered evil: it often doesn't do what you want. In your example it would also match Fruits{ }{ }. You can see a detailed discussion in Ovids famous node Death to Dot Star!. Of course if you know exactly what you do, the dotstar is a powerful weapon.

Not using the dotstar typically forces you to think more on your expected content. In you case, you are expecting letters and (probably) blanks as separators. So you could simply look up the shortcodes for them, e.g. in the documentation.

HTH, Rata

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2023-03-26 02:11 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (63 votes). Check out past polls.