1 no match 1 1 attrmatchlength 1 1 2 starng

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: class is matched by any single member of the specified class. For example, [A-Z] is matched by any capital leMer. • Modifiers operate on literal characters, character classes, or combina+ons of the two. For example ^ is an anchor that indicates the literal must appear at the beginning of the string Warning •  The syntax for regexps is extremely concise •  It can be overwhelming if you try to read it like you would regular text. •  Always break it down into these three components: literals, character classes, modifiers How to find fake words? [email protected] •  What makes this different from a regular word? •  Numbers and punctua+on surrounded by leMers •  Concepts of “numbers”, “punctua+on”, and “regular leMers”...
View Full Document

This document was uploaded on 02/16/2014 for the course STATISTICS 3026 at Columbia.

Ask a homework question - tutors are online