WeaponRegeXJS
weaponregex.WeaponRegeXJS$
object WeaponRegeXJS
The API facade of Weapon regeX for JavaScript
Attributes
- Note:
For JavaScript use only
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- WeaponRegeXJS.type
Members list
Concise view
Value members
Concrete methods
Mutate a regex pattern and flags with the given options.
Mutate a regex pattern and flags with the given options.
Attributes
- flags
Regex flags or
undefined- options
JavaScript object for Mutation options
{ mutators: [Mutators to be used for mutation. If this is `null`, all built-in mutators will be used.], mutationLevels: [Target mutation levels. If this is `null`, the `mutators`, will not be filtered.], flavor: [Regex flavor. By the default, `ParerFlavorJS` will be used.] }- pattern
Input regex string
- Returns:
A JavaScript Array of weaponregex.model.mutation.Mutant if can be parsed, or throw an exception otherwise
Deprecated methods
Mutate a regex pattern with the given options.
Mutate a regex pattern with the given options.
Attributes
- options
JavaScript object for Mutation options
{ mutators: [Mutators to be used for mutation. If this is `null`, all built-in mutators will be used.], mutationLevels: [Target mutation levels. If this is `null`, the `mutators`, will not be filtered.], flavor: [Regex flavor. By the default, `ParerFlavorJS` will be used.] }- pattern
Input regex string
- Returns:
A JavaScript Array of weaponregex.model.mutation.Mutant if can be parsed, or throw an exception otherwise
- Deprecated
- true