Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Tutorial Regex Operators

by LanX (Sage)
on Nov 17, 2021 at 10:14 UTC ( #11138914=perlquestion: print w/replies, xml ) Need Help??

LanX has asked for the wisdom of the Perl Monks concerning the following question:

Hi

I'm looking for a good overview tutorial explaining the regex commands m// , s/// and split // in combination with

  • context
  • /g modifier
  • (plus use cases)
I remember seeing a table here, can't find it anymore.

Thanks! :)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re: Tutorial Regex Operators
by LanX (Sage) on Nov 17, 2021 at 16:38 UTC
Re: Tutorial Regex Operators
by Anonymous Monk on Nov 18, 2021 at 04:39 UTC
    Perhaps this perlretut ?
    Not a table, but definitely comprehensive, using examples. Worth bookmarking.

    Cheers
    Chris

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11138914]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2022-06-30 00:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (97 votes). Check out past polls.

    Notices?