Thursday, May 23, 2024
 Popular · Latest · Hot · Upcoming
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

 Answers
123

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.


[#94480] Thursday, December 23, 2010, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
samir

Total Points: 145
Total Questions: 90
Total Answers: 89

Location: Tokelau
Member since Sun, May 7, 2023
1 Year ago
;