minor
This commit is contained in:
parent
c709aa153b
commit
1072055fdc
1 changed files with 1 additions and 1 deletions
|
@ -12,4 +12,4 @@ let str = '<> <a href="/"> <input type="radio" checked> <b>';
|
||||||
alert( str.match(reg) ); // '<a href="/">', '<input type="radio" checked>', '<b>'
|
alert( str.match(reg) ); // '<a href="/">', '<input type="radio" checked>', '<b>'
|
||||||
```
|
```
|
||||||
|
|
||||||
Let's assume that may not contain `<` and `>` inside (in quotes too), that simplifies things a bit.
|
Here we assume that tag attributes may not contain `<` and `>` (inside squotes too), that simplifies things a bit.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue