Open main menu

CDOT Wiki β

Changes

Tutorial9: Regular Expressions

54 bytes added, 09:28, 13 March 2021
INVESTIGATION 1: SIMPLE & COMPLEX REGULAR EXPRESSIONS
# Issue the following Linux pipeline command:<br><span style="color:blue;font-weight:bold;font-family:courier;">ls | grep "[a-z].*txt$"</span><br><br>What did this pipeline display?<br><br>
: Although very useful, '''complex''' regular expressions do NOT <u>entirely </u> solve our problem of displaying only '''valid''' unsigned and signed numbers.<br>(not to mention displaying decimal numbers).<br><br>In the next investigation, you will learn how to use '''extended''' regular expressions that will completely solve this issue.<br>
: You can proceed to INVESTIGATION 2.
13,420
edits