LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Syndicated Linux News (https://www.linuxquestions.org/questions/syndicated-linux-news-67/)
-   -   LXer: Finding Overlapping Matches Using Perl's Lookahead Assertion Matching On Linux (https://www.linuxquestions.org/questions/syndicated-linux-news-67/lxer-finding-overlapping-matches-using-perls-lookahead-assertion-matching-on-linux-668662/)

LXer 09-09-2008 08:11 AM

LXer: Finding Overlapping Matches Using Perl's Lookahead Assertion Matching On Linux
 
Published at LXer:

Here's another topic that relates to our larger series on number pools and guaranteed combinations within fixed lists while still being worthy of having its own post. Regular expression matching with Perl for Linux or Unix is fairly simple at its most basic (as are most implementations of regular expression matching). Taken to its most remedial level, you can use a regular expression as a poor man's "grep" (and, oddly enough, the "re" in grep actually stands for regular expression). Although this use of regular expression pattern matching does have its place, it doesn't really merit use outside of tools designed to apply it in that manner and will suck all the joy right out of creating your own regular expressions.

Read More...


All times are GMT -5. The time now is 07:59 AM.