| | |
Summary: 1/21/2011
1
Learning Ruby
Regular Expressions
Get at practice page by logging on to
csilm.usu.edu and selectingg
PROGRAMMING LANGUAGES|Regular Expressions
Regular Expressions
ˇ A regular expression is a special sequence
of characters that helps you match or find
other strings or sets of strings, using a
specialized syntax held in a pattern
ˇ You use them in
asking if a string contains certain features
extracting words which fit the given patterns extracting words which fit the given patterns
from the string
Types & Regular Expressions 2
1/21/2011
2
Uses of regular expressions
|