Difference between revisions of "Regex"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 10: | Line 10: | ||
state: present | state: present | ||
[[backrefs]]: yes | [[backrefs]]: yes | ||
− | [[regexp]]: '^ENABLED="false"' | + | [[regexp]]: '[[^]]ENABLED="false"' |
line: 'ENABLED="true"' | line: 'ENABLED="true"' | ||
Revision as of 05:10, 5 April 2022
wikipedia:regex (1951)
- or |
- lineinfile: path: /etc/default/sysstat state: present backrefs: yes regexp: '^ENABLED="false"' line: 'ENABLED="true"'
npm install escape-string-regexp
Python
import re
java.util.regex
See also
- Regex, Re, ansi-regex
- Programming: C, Python,
go
,loop
,while
,for
,if
,variable
, Error handling, Regex, Function, IDE, await, R (programming language), XACML, Type, Class inheritance, Methods, Scheme, Array, Deserialization
Advertising: