Skip to content

RegSeed.EnableStandardWildCards Method

JanZsch edited this page Nov 14, 2018 · 2 revisions

Method to enable the usage of standard wild cards.

Remarks

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*]|

EnableStandardWildCards()

public RegSeed EnableStandardWildCards();

Returns

RegSeed

Returns the instance the method was called on to allow for a fluent configuration style;

Exceptions

ArgumentNullException

Thrown when called on instance with regex pattern already loaded.


Previous
Next