-
Notifications
You must be signed in to change notification settings - Fork 0
RegSeed.EnableStandardWildCards Method
JanZsch edited this page Nov 14, 2018
·
2 revisions
Method to enable the usage of standard wild cards.
When this method was called on a RegSeed instance before the regex pattern was loaded, all standard wild cards will be replaced as listed below
| Wild Card | Equivalent Regular Expression |
| :-------: | ------------------------------- |
| \d | [0-9] |
| \D | [^0-9] |
| \w | [a-zA-Z0-9_] |
| \W | [^a-zA-Z0-9_] |
| \s | [*space*\|*tabstop*\|*newline*] |
| \S | [^*space*\|*tabstop*\|*newline*]|
public RegSeed EnableStandardWildCards();
Returns the instance the method was called on to allow for a fluent configuration style;
Thrown when called on instance with regex pattern already loaded.