View Single Post
  #21 (permalink)  
Old June 8th, 2005, 07:33 AM
AGS AGS is offline
Wrox Technical Editor
Points: 267, Level: 5
Points: 267, Level: 5 Points: 267, Level: 5 Points: 267, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2005
Location: Russia
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Example at the end of page 201:
 
Quote:
quote:For example, suppose you want to match words bread, read, or red. Using the question mark quantifier,
Quote:
you can create just one regular expression to match all three:
var reBreadReadOrRed = /b?rea?d/;
strictly speaking there is another match - "bred", but may be it does not matter in this context.

page 205, first paragraph
 
Quote:
quote:This section introduces these concepts and more, so you can use you regular expressions to
Quote:
make complex string manipulations easier.
misprint? your

Best regards,
Alexei

Reply With Quote