Content deleted Content added
No edit summary |
RevRagnarok (talk | contribs) |
||
Line 206:
}
</pre>
99 is the first number in '99 bottles of beer on the wall.'
</pre></td>
Line 291:
The 'm' in the above regular expressions, for example m/[^abc]/, is not required in order for perl to recognize the expression as a 'match' (cf. 'substitute': s/a/b/); /[^abc]/ could just as easily be used without the preceding 'm'. The 'm' operator can be used to alter the delimiting character; for example, m{/} may be used to enhance the legibility of patterns such as /\//. See '[http://perldoc.perl.org/perlre.html perldoc perlre]' for more details.
[[Category:Perl]]
[[Category:Pattern matching]]
[[Category:
|