|
|
@ -401,6 +401,7 @@ Unavailable") }}
|
|
|
|
<li>Use <code>//(?aiLmsux))</code> type flags (more <a href="https://docs.python.org/3/library/re.html#index-15">information here</a>)<br></li>
|
|
|
|
<li>Use <code>//(?aiLmsux))</code> type flags (more <a href="https://docs.python.org/3/library/re.html#index-15">information here</a>)<br></li>
|
|
|
|
<li>Keyword example ‐ example <code>Out of stock</code></li>
|
|
|
|
<li>Keyword example ‐ example <code>Out of stock</code></li>
|
|
|
|
<li>Use groups to extract just that text ‐ example <code>/reports.+?(\d+)/i</code> returns a list of years only</li>
|
|
|
|
<li>Use groups to extract just that text ‐ example <code>/reports.+?(\d+)/i</code> returns a list of years only</li>
|
|
|
|
|
|
|
|
<li>Example - match lines containing a keyword <code>/.*icecream.*/</code></li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</li>
|
|
|
|
<li>One line per regular-expression/string match</li>
|
|
|
|
<li>One line per regular-expression/string match</li>
|
|
|
|