diff --git a/guide/Text/Regex/regexMatch.md b/guide/Text/Regex/regexMatch.md index da87c4a4..676fb8b8 100644 --- a/guide/Text/Regex/regexMatch.md +++ b/guide/Text/Regex/regexMatch.md @@ -11,7 +11,7 @@ in case flag is not `g` it will return the whole matched text and matched groups ### Example (Find the first number): - !!exec $regexMatch[Rake owns 50$ and has 18 properties.;d+]

+ !!exec $regexMatch[Rake owns 50$ and has 18 properties.;\d+]

50

@@ -21,7 +21,7 @@ in case flag is not `g` it will return the whole matched text and matched groups ### Example (Find all numbers): - !!exec $regexMatch[Rake owns 50$ and has 18 properties.;d+;g;all;/]

+ !!exec $regexMatch[Rake owns 50$ and has 18 properties.;\d+;g;all;/]

50/18

@@ -31,7 +31,7 @@ in case flag is not `g` it will return the whole matched text and matched groups ### Example (Find 2nd number only): - !!exec $regexMatch[Rake owns 50$ and has 18 properties.;d+;g;1]

+ !!exec $regexMatch[Rake owns 50$ and has 18 properties.;\d+;g;1]

18 @@ -40,7 +40,7 @@ in case flag is not `g` it will return the whole matched text and matched groups ::: tip Regex Flags These are all regex flags: `g, i, m, u, s, y.` -:: +::: ##### Function difficulty ###### Tags: