Difference between revisions of "Regex"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[wikipedia:regex]] (1951)
 
[[wikipedia:regex]] (1951)
  
 +
* [[or]] |
  
* or |
+
=== [[Ansible]] ===
 
+
   - [[lineinfile]]:
 
 
[[Ansible]]
 
   - 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"'
  
[[JavaScript]]
+
[[insertafter:]]
 +
 
 +
=== [[JavaScript]] ===
 
  [[npm install escape-string-regexp]]
 
  [[npm install escape-string-regexp]]
 +
[[ansi-regex]]
  
Python  
+
=== Python ===
 
   import [[re]]
 
   import [[re]]
 +
 +
[[regex.match]]
  
 
  [[java.util.regex]]
 
  [[java.util.regex]]
  
 +
 +
* [[Ruby]]: https://rubular.com/
 +
 +
 +
 +
* [[pipe]]
  
 
== See also ==
 
== See also ==

Latest revision as of 12:27, 3 October 2024

Advertising: