Difference between revisions of "Regex"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[wikipedia:regex]] (1951)
 
[[wikipedia:regex]] (1951)
 
  
 
* or |
 
* or |
  
 
+
=== [[Ansible]] ===
[[Ansible]]
+
   - [[lineinfile]]:
   - lineinfile:
 
 
         path: [[/etc/default/sysstat]]
 
         path: [[/etc/default/sysstat]]
 
         state: present
 
         state: present
 
         [[backrefs]]: yes
 
         [[backrefs]]: yes
         [[regexp]]: '^ENABLED="false"'
+
         [[regexp]]: '[[^]]ENABLED="false"'
 
         line: 'ENABLED="true"'
 
         line: 'ENABLED="true"'
 +
 +
[[insertafter:]]
 +
 +
=== [[JavaScript]] ===
 +
[[npm install escape-string-regexp]]
 +
[[ansi-regex]]
 +
 +
=== Python ===
 +
  import [[re]]
 +
 +
[[regex.match]]
 +
 +
[[java.util.regex]]
 +
 +
 +
* [[Ruby]]: https://rubular.com/
  
  
Line 17: Line 31:
  
 
== See also ==
 
== See also ==
 +
* {{regex}}
 
* {{programming}}
 
* {{programming}}
 +
 +
[[Category:Linux]]

Latest revision as of 18:40, 7 September 2023

Advertising: