On Tue, 5 Oct 2004, Mallik wrote:

But I am a new-bie to Perl. Can u give me a example for 'look-ahead'
matches.

30 seconds on Google returned *lots* of documentation. Here's some of it:

    <http://www.perldoc.com/perl5.8.4/pod/perlre.html>
    <http://www.perl.com/pub/a/2001/05/01/expressions.html>
    <http://www.regular-expressions.info/lookaround.html>

If you *really* want to learn this stuff, get a copy of Jeffrey Friedl's _Mastering Regular Expressions_. It's a superb book that explains how
regexes work in a variety of languages, including Perl.


You should also get familiar with perldoc -- Perl's documentation system. You can look at a lot of perldoc documentation at perldoc.com, but this should also all exist on your computer as well. Try this:

    perldoc perlre

Read over the documentation and let us know if you have more questions.


-- Chris Devers

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to