Summary

In today's lesson, you learned more about using regular expressions, building on the basics you learned about yesterday. Today, we talked about extracting matches from a pattern-matching operation using parentheses, and using backreferences and match variables to save matches and refer back to them later.

As part of that discussion, you also learned about pattern matching in different contexts (scalar contexts return true or false, lists return lists of matches), about the greedy behavior of the quantifier metacharacters, and more about the split function. If you made it this far, through both these lessons, you now know enough about regular expressions to match just about any pattern in any set of data.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset