mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-22 20:13:59 -07:00
regex_escape: support POSIX basic regex (#50327)
This commit is contained in:
parent
874fd70d10
commit
e55e8fe2c4
3 changed files with 31 additions and 3 deletions
8
changelogs/fragments/regex-escape-basic.yaml
Normal file
8
changelogs/fragments/regex-escape-basic.yaml
Normal file
|
@ -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…
Add table
Add a link
Reference in a new issue