Open main menu

CDOT Wiki β

Changes

Tutorial9: Regular Expressions

6 bytes added, 08:08, 13 March 2021
Complex / Extended Regular Expressions
'''Complex Regular Expressions'''
<br><br>
The problem with using literals or simple regular expressions is that only <u>simple</u> or <u>general</u> patterns are matched.
'''Complex Regular Expressions''' use symbols to help match text for more <u>precise</u> (complex) patterns.<br>The most common complex regular expression symbols are displayed below:
:'''Anchors: ''' <span style="font-family:courier;font-weight:bold;">^</span> , <span style="font-family:courier;font-weight:bold;">$</span><br>Match lines the begin (^) or end ($) with a pattern.<br>
13,420
edits