29
rated 0 times
[
32]
[
3]
/ answers: 1 / hits: 19778
/ 14 Years ago, mon, december 27, 2010, 12:00:00
What does d
do in this example?
/Chapter (d+).d*/
More From » regex
What does d
do in this example?
/Chapter (d+).d*/
In what context?
In a regular expression, it matches a digit (0-9).
Edit, according to your comment:
It matches any string starting with Chapter, followed by digits, then a dot, then a number of digits. Like Chapter 1.0
and Chapter 12.01
.