Monday, April 30, 2007

Java: regular expressions

The Java Tutorials: Essential Classes > Regular Expressions > Quantifiers

Greedy Meaning
X? X, once or not at all
X* X, zero or more times
X+ X, one or more times
X{n} X, exactly n times

Need to memorize these.

Labels: , ,

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home