mirror of https://github.com/ansible/ansible.git
regex_escape: support POSIX basic regex (#50327)
parent
874fd70d10
commit
e55e8fe2c4
@ -0,0 +1,8 @@
|
|||||||
|
minor_changes:
|
||||||
|
- |
|
||||||
|
regex_escape - added re_type option to enable escaping POSIX BRE chars
|
||||||
|
|
||||||
|
This distinction is necessary because escaping non-special chars such as
|
||||||
|
'(' or '{' turns them into special chars, the opposite of what is intended
|
||||||
|
by using regex_escape on strings being passed as a Basic Regular
|
||||||
|
Expression.
|
Loading…
Reference in New Issue