mirror of
https://github.com/dholerobin/Lecture_Notes.git
synced 2025-07-01 13:06:29 +00:00
Update boundary_matchers.html
This commit is contained in:
parent
67b00a7ae8
commit
f0ab114f3e
@ -68,7 +68,7 @@
|
|||||||
For example,</p>
|
For example,</p>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<iframe scrolling="no" style="position: absolute; top: -9999em; visibility: hidden;" onload="this.style.position='static'; this.style.visibility='visible';" src="https://regexr.com/4vtsb" class="embed"></iframe>
|
<iframe scrolling="no" style="position: absolute; top: -9999em; visibility: hidden;" onload="this.style.position='static'; this.style.visibility='visible';" src="https://regexr.com/4vuof" class="embed"></iframe>
|
||||||
</div></li>
|
</div></li>
|
||||||
|
|
||||||
<p>It will show a match, only if the pattern is occuring at the start of the line.</p>
|
<p>It will show a match, only if the pattern is occuring at the start of the line.</p>
|
||||||
@ -77,7 +77,7 @@
|
|||||||
<li><p><strong>Anchor <code>$</code></strong>: Similarly, <code>$</code> is used to match patterns at the very end of a line.</p>
|
<li><p><strong>Anchor <code>$</code></strong>: Similarly, <code>$</code> is used to match patterns at the very end of a line.</p>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<iframe scrolling="no" style="position: absolute; top: -9999em; visibility: hidden;" onload="this.style.position='static'; this.style.visibility='visible';" src="https://regexr.com/4vtsb" class="embed"></iframe>
|
<iframe scrolling="no" style="position: absolute; top: -9999em; visibility: hidden;" onload="this.style.position='static'; this.style.visibility='visible';" src="https://regexr.com/4vuol" class="embed"></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>It will show a match, only if the pattern is occuring at the end of a line.</p>
|
<p>It will show a match, only if the pattern is occuring at the end of a line.</p>
|
||||||
@ -142,7 +142,7 @@
|
|||||||
<p>Predict the output of the following regex:</p>
|
<p>Predict the output of the following regex:</p>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li><strong>RegEx:</strong> <code>^[\w$#%@!&^*]{6,18}$</code> <br>
|
<li><strong>RegEx:</strong> <code>^[\wYou can't use 'macro parameter character #' in math mode</code> <br>
|
||||||
<strong>Text:</strong>
|
<strong>Text:</strong>
|
||||||
<code>This is matching passwords of length between 6 to 18:
|
<code>This is matching passwords of length between 6 to 18:
|
||||||
Abfah45$
|
Abfah45$
|
||||||
|
Loading…
x
Reference in New Issue
Block a user