weaponregex.internal.mutator
Members list
Type members
Classlikes
Mutator for beginning of line ^
to beginning of input \A
change
Mutator for beginning of line ^
to beginning of input \A
change
''Mutation level(s):'' 2, 3
Attributes
- Example
-
^a
⟶\Aa
- Supertypes
- Self type
-
BOL2BOI.type
Mutator for beginning of line character ^
removal
Mutator for beginning of line character ^
removal
''Mutation level(s):'' 1, 2, 3
Attributes
- Example
-
^a
⟶a
- Supertypes
- Self type
-
BOLRemoval.type
Mutator for character class to [\w\W]
change"""
Mutator for character class to [\w\W]
change"""
''Mutation level(s):'' 2, 3
Attributes
- Example
-
[abc]
⟶[\w\W]
- Supertypes
- Self type
-
CharClassAnyChar.type
Mutator for character class child removal
Mutator for character class child removal
''Mutation level(s):'' 2, 3
Attributes
- Example
-
[abc]
⟶[ab]
,[ac]
,[bc]
- Supertypes
- Self type
Mutator for character class negation
Mutator for character class negation
''Mutation level(s):'' 1
Attributes
- Example
-
[abc]
⟶[^abc]
- Supertypes
- Self type
-
CharClassNegation.type
Mutator for character class range modification
Mutator for character class range modification
''Mutation level(s):'' 3
Attributes
- Example
-
[b-y]
⟶[a-y]
,[c-y]
,[b-x]
,[b-z]
- Supertypes
- Self type
Mutator for end of line $
to end of input \z
change
Mutator for end of line $
to end of input \z
change
''Mutation level(s):'' 2, 3
Attributes
- Example
-
a$
⟶a\z
- Supertypes
- Self type
-
EOL2EOI.type
Mutator for end of line character $
removal
Mutator for end of line character $
removal
''Mutation level(s):'' 1, 2, 3
Attributes
- Example
-
a$
⟶a
- Supertypes
- Self type
-
EOLRemoval.type
Mutator for capturing group to non-capturing group modification
Mutator for capturing group to non-capturing group modification
''Mutation level(s):'' 2, 3
Attributes
- Example
-
(abc)
⟶(?:abc)
- Supertypes
- Self type
-
GroupToNCGroup.type
Mutator for lookaround constructs (lookahead, lookbehind) negation
Mutator for lookaround constructs (lookahead, lookbehind) negation
''Mutation level(s):'' 1, 2, 3
Attributes
- Example
-
(?=abc)
⟶(?!abc)
- Supertypes
- Self type
-
LookaroundNegation.type
Mutator for predefined character class to character class with its negation change
Mutator for predefined character class to character class with its negation change
''Mutation level(s):'' 2, 3
Attributes
- Example
-
\d
⟶[\d\D]
- Supertypes
- Self type
Mutator for predefined character class negation
Mutator for predefined character class negation
''Mutation level(s):'' 1
Attributes
- Example
-
\d
⟶\D
- Supertypes
- Self type
Mutator for predefined character class nullification
Mutator for predefined character class nullification
''Mutation level(s):'' 2, 3
Attributes
- Example
-
\d
⟶d
- Supertypes
- Self type
Mutator for quantifier {n}
to {0,n}
and {n,}
change
Mutator for quantifier {n}
to {0,n}
and {n,}
change
''Mutation level(s):'' 2, 3
Attributes
- Example
-
a{5}
⟶a{0,5}
,a{5,}
- Supertypes
- Self type
-
QuantifierNChange.type
Mutator for quantifier {n,m}
modification (including {n-1,m}
, {n+1,m}
, {n,m-1}
, and {n,m+1}
)
Mutator for quantifier {n,m}
modification (including {n-1,m}
, {n+1,m}
, {n,m-1}
, and {n,m+1}
)
''Mutation level(s):'' 2, 3
Attributes
- Example
-
a{5,10}
⟶a{4,10}
,a{6,10}
,a{5,9}
,a{5,11}
- Supertypes
- Self type
Mutator for quantifier {n,}
to {n}
change
Mutator for quantifier {n,}
to {n}
change
''Mutation level(s):'' 2, 3
Attributes
- Example
-
a{5,}
⟶a{5}
- Supertypes
- Self type
Mutator for quantifier {n,}
to {n-1,}
and {n+1,}
modification
Mutator for quantifier {n,}
to {n-1,}
and {n+1,}
modification
''Mutation level(s):'' 2, 3
Attributes
- Example
-
a{5,}
⟶a{4,}
,a{6,}
- Supertypes
- Self type
Mutator for greedy quantifier to reluctant quantifier modification
Mutator for greedy quantifier to reluctant quantifier modification
''Mutation level(s):'' 3
Attributes
- Example
-
a+
⟶a+?
- Supertypes
- Self type
Mutator for quantifier removal (including ?
, *
, +
, and {n,m}
)
Mutator for quantifier removal (including ?
, *
, +
, and {n,m}
)
''Mutation level(s):'' 1
Attributes
- Example
-
a*
⟶a
- Supertypes
- Self type
-
QuantifierRemoval.type
Mutator for short quantifier *
and +
to {n}
change
Mutator for short quantifier *
and +
to {n}
change
''Mutation level(s):'' 2, 3
Attributes
- Example
-
a*
⟶a{0}
- Supertypes
- Self type
Mutator for short quantifier to {n,}
or {n,m}
modification
Mutator for short quantifier to {n,}
or {n,m}
modification
''Mutation level(s):'' 2, 3
Attributes
- Example
-
a*
⟶a{1,1}
,a{0,0}
,a{0,2}
- Supertypes
- Self type
Mutator for Unicode character class negation
Mutator for Unicode character class negation
''Mutation level(s):'' 1
Attributes
- Example
-
\p{Alpha}
⟶\P{Alpha}
- Supertypes
- Self type