mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
regex_escape: support POSIX basic regex (#50327)
This commit is contained in:
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.
|
||||
Reference in New Issue
Block a user