I dunno exactly but i think \s*\d* is something like “string + int” and \d*\d* is “int + int”
Any body with clarification.
Thanks!
I dunno exactly but i think \s*\d* is something like string + int and
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
These are regular expressions:
\dmatches a single digit (0–9)\smatches a whitespace character (space, tab, newline, …)*matches zero or more versions of the previous item.So
\d*matches zero or more digits, and\s*matches zero or more whitespace characters.This means that
ABC\s*\d*will match strings likeABC 2345,ABC234andABC.ABC\d*\d*is the same asABC\d*.See this introduction to regular expressions in XSLT 2 for more information.