Reinserting the entire regex match into the replacement text allows a search-and-replace to insert text before and after regular expression matches without really replacing anything. Non-printable characters such as control characters and special spacing or line break characters are easier to enter using control character escapes or hexadecimal escapes. Escaping rules may get a bit complicated when using replacement strings in software source code. Certain characters have special meanings in replacement strings and have to be escaped. The simplest replacement text consists of only literal characters. Literal Characters, Special Characters, and Non-Printable Characters The introduction explains how to read the replacement strings reference tables. Replacement Strings Reference Table of Contents
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |