Changes

Jump to: navigation, search

Tutorial9: Regular Expressions

9 bytes removed, 08:56, 9 March 2021
Complex Regular Expressions
<span style="color:blue;font-weight:bold;font-family:courier;">grep Linux document.txt</span><br><br>
===Complex / Extended Regular Expressions===
The problem with using literals or simple regular expressions is that only <u>simple</u> or <u>general</u> patterns are matched.
<table align="left"><tr valign="top"><td>[[Image:re-4.png|thumb|right|200px|Example of using '''anchors'''.]]</td><td>[[Image:re-5.png|thumb|right|175px|Example of matching by '''character(s)'''.]]</td><td>[[Image:re-6.png|thumb|right|220px|Example of using '''character class'''.]]</td><td>[[Image:re-7.png|thumb|right|200px|Example of matching '''zero or more occurrence of preceding character'''.]]</td></tr></table>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
===Extended Regular Expressions===
13,420
edits

Navigation menu