Method RandomRegexpishString
RandomRegexpishString(Random)
Returns a String thats "regexpish" (contains lots of operators typically found in regular expressions)
If you call this enough times, you might get a valid regex!
Declaration
public static string RandomRegexpishString(Random r)
Parameters
Type |
Name |
Description |
Random |
r |
|
Returns
Type |
Description |
System.String |
|
RandomRegexpishString(Random, Int32)
Declaration
public static string RandomRegexpishString(Random r, int maxLength)
Parameters
Type |
Name |
Description |
Random |
r |
|
System.Int32 |
maxLength |
|
Returns
Type |
Description |
System.String |
|