Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

RE: Pattern Matching:#2

by providencia (Pilgrim)
on Apr 05, 2000 at 08:37 UTC ( #6926=note: print w/ replies, xml ) Need Help??


in reply to Pattern Matching:#2
in thread String matching and Regular Expressions

The trailing "i" means it ignores the case.
The "g" is the global replace option.

There's a good example of "i" in Learning Perl 2nd edition.
On page 11 and the program continues on page 12.
It's really helpful for making your programs dummy proof for users.

An example of "g" can be found on page 88 of the same book.
It is my bible although I have two other books I am using.
(a programming newbie can never have enough books)

I almost forgot to mention that issuing the command "perldoc perlop"
(without the quotes) on most systems will give you
detailed information on perl operators.

Perldoc is excellent! use "perldoc perldoc" to learn how to use it.


Comment on RE: Pattern Matching:#2

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2014-07-14 07:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (256 votes), past polls