SPUG: regarding Perl doubt
battipatisainagendra Bhavaniprasad
sainagendrabhavaniprasad at gmail.com
Sun Jan 25 00:29:57 PST 2009
Hi,
I am new to this community.I have question regarding Pattern Matching
in Perl.
1.when /ab?/ is given it returns true for "abbbb" but my question is "?"
will support zero or one occurrence.
2.When i am giving /[0-9a-zA-Z] it returns true for "0AA" and "9aa" but my
question is IT HAS TO ACCEPT ONLLY "0aa"/"9fG"....so on.
3.What is the difference between Pattern Matching and regular expression?Are
both same?
Please reply ASAP.
Rgds,
Chinna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/spug-list/attachments/20090125/95b5b16e/attachment.html>
More information about the spug-list
mailing list