Difference between revisions of "Regex"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
[[wikipedia:regex]] (1951) | [[wikipedia:regex]] (1951) | ||
− | |||
* or | | * or | | ||
− | |||
=== [[Ansible]] === | === [[Ansible]] === | ||
Line 12: | Line 10: | ||
[[regexp]]: '[[^]]ENABLED="false"' | [[regexp]]: '[[^]]ENABLED="false"' | ||
line: 'ENABLED="true"' | line: 'ENABLED="true"' | ||
+ | |||
+ | [[insertafter:]] | ||
=== [[JavaScript]] === | === [[JavaScript]] === |
Revision as of 18:40, 7 September 2023
wikipedia:regex (1951)
- or |
Contents
Ansible
- lineinfile: path: /etc/default/sysstat state: present backrefs: yes regexp: '^ENABLED="false"' line: 'ENABLED="true"'
insertafter:
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: