Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

(tye)Re: Learning Perl's Regular Expressions

by tye (Sage)
on May 07, 2001 at 20:17 UTC ( #78548=note: print w/replies, xml ) Need Help??


in reply to Learning Perl's Regular Expressions
in thread japhy and mystery

I'd love to see my oft-repeated rant addressed early on:

  • Simple patterns.
    • Plain text: /hello world/, /\Q$str\E/
(:

        - tye (but my friends call me "Tye")
  • Comment on (tye)Re: Learning Perl's Regular Expressions

Replies are listed 'Best First'.
Re: (tye)Re: Learning Perl's Regular Expressions
by japhy (Canon) on May 07, 2001 at 20:25 UTC
    I'll be discussing the use of regexes for simple things like /foo/. I'll mention quotemeta() and \Q...\E, of course, and suggest that something like /\Q$str\E/ be rewritten without using a regex.

    I will also discuss the dangers of /$str/.

    japhy -- Perl and Regex Hacker

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (1)
As of 2022-10-01 14:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (126 votes). Check out past polls.

    Notices?