diff --git a/docs/document/Regular Expression/docs/1. Basics/3. Match One of Many Characters.md b/docs/document/Regular Expression/docs/1. Basics/3. Match One of Many Characters.md index edbf5369..2af1eb68 100644 --- a/docs/document/Regular Expression/docs/1. Basics/3. Match One of Many Characters.md +++ b/docs/document/Regular Expression/docs/1. Basics/3. Match One of Many Characters.md @@ -52,7 +52,7 @@ For `^`s not act as negation are not required to be escaped: Also for `-` and `[`/`]` -:::hint +:::info It's recommended to always escape metacharacters in character classes ::: @@ -65,5 +65,9 @@ It's recommended to always escape metacharacters in character classes - `\s` matches any *whitespace character*, like tabs, spaces, line breaks. - `\S` matches any character that is *not a whitespace character* -> In `.NET`, `\w` matches not only `[a-zA-Z0-9_]`, it also includes other letters like Cyrillic and Thai. -> `\s` also matches whitespace characters in Unicode in `.NET` and `JavaScript` +:::info + +- In `.NET`, `\w` matches not only `[a-zA-Z0-9_]`, it also includes other letters like Cyrillic and Thai. +- `\s` also matches whitespace characters in Unicode in `.NET` and `JavaScript` + +:::