Slides - University of Washington
Slides - University of Washington
Slides - University of Washington
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>University</strong> <strong>of</strong> <strong>Washington</strong><br />
Ling472 Introduction to Computational Linguistics<br />
Lecture 1:<br />
Introduction<br />
Basic RegEx<br />
^ matches the start <strong>of</strong> a line<br />
$ matches the end <strong>of</strong> a line<br />
. matches any one character (except newline)<br />
[xyz] matches any one character from the set<br />
[^pdq] matches any one character not in the set<br />
| accepts either its left or its right side<br />
\ escape to specify special characters<br />
anything else: must match exactly<br />
Monday, April 1, 2013<br />
53