![]() This refers to the first through ninth (\1 to \9) tagged region when replacing. These tags can be used within the current regular expression or in the replacement string in a search/replace. These tag can be access using the syntax \1 for the first tag, \2 for the second, and \3 \4. ![]() ![]() To match all characters including new lines you can use \s\S. Note: That this means "." will also match \r which might cause some confusion when you are editing a file with both \r and \n. Matches any character except new line (\n). Note: Multi-line expressions (involving \n, \r, etc) are not yet supported. Regular Expressions allow complicated and flexible search/replace using a specific syntax. _NOTE: For older versions of PN the tagged expressions start \( and end \) and there are no non-capture groups nor the backslash groups.
0 Comments
Leave a Reply. |