Difference between revisions of "Regex"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
line: 'ENABLED="true"' | line: 'ENABLED="true"' | ||
− | [[JavaScript]] | + | === [[JavaScript]] === |
[[npm install escape-string-regexp]] | [[npm install escape-string-regexp]] | ||
[[ansi-regex]] | [[ansi-regex]] | ||
− | Python | + | === Python === |
import [[re]] | import [[re]] | ||
Revision as of 13:44, 13 January 2023
wikipedia:regex (1951)
- or |
- lineinfile: path: /etc/default/sysstat state: present backrefs: yes regexp: '^ENABLED="false"' line: 'ENABLED="true"'
JavaScript
npm install escape-string-regexp ansi-regex
Python
import re
regex.match
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: