typo
This commit is contained in:
parent
f6ae0b5a5f
commit
f452810885
1 changed files with 1 additions and 1 deletions
|
@ -31,6 +31,6 @@ It works like this:
|
|||
|
||||
The tag `pattern:<body.*?>` won't be returned. The result of this regexp is literally an empty string, but it matches only at positions preceeded by `pattern:<body.*?>`.
|
||||
|
||||
So we replaces the "empty line", preceeded by `pattern:<body.*?>`, with `<h1>Hello</h1>`. That's the insertion after `<body>`.
|
||||
So it replaces the "empty line", preceeded by `pattern:<body.*?>`, with `<h1>Hello</h1>`. That's the insertion after `<body>`.
|
||||
|
||||
P.S. Regexp flags, such as `pattern:s` and `pattern:i` can also be useful: `pattern:/<body.*?>/si`. The `pattern:s` flag makes the dot `pattern:.` match a newline character, and `pattern:i` flag makes `pattern:<body>` also match `match:<BODY>` case-insensitively.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue