Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Tham khảo tài liệu 'handbooks professional java-c-scrip-sql part 220', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 1.9 vi Editor The vi program is a popular text editor on all Unix systems and Vim is a popular vi clone with expanded regular expression support. Both use a DFA match engine. For an explanation of the rules behind a DFA engine see Section 1.2. 1.9.1 Supported Metacharacters Table 1-36 through Table 1-40 list the metacharacters and metasequences supported by vi. For expanded definitions of each metacharacter see Section 1.2.1. Table 1-36. Character representation Sequence Meaning Vim only b Backspace x08. e ESC character x1B. n Newline x0A. r Carriage return x0D. t Horizontal tab x0 9. Table 1-37. Character classes and class-like constructs Class Meaning . Any character listed or contained within a listed range. r. Any character that is not listed or contained within a listed range. class POSIX-style character class valid only within a character class. . Any character except newline unless s mode . Vim only w Word character a - zA- z0-9_ . W Non-word character Aa- zA- z0-9_ . a Letter character a - zA- z . A Non-letter character Aa- zA- z . h Head of word character a-zA- z_ . H Not the head of a word character Aa-zA-z_ . d Digit character 0-9 . D Non-digit character A0-9 . s Whitespace character t . S Non-whitespace character a t . x Hex digit a-fA-F0-9 . X Non-hex digit a- fA- F0-9 . o Octal digit 0-7 . O Non-octal digit K0-7 . l Lowercase letter a-z . L Non-lowercase letter Aa-z . u Uppercase letter A-Z . U Non-uppercase letter aa- Z . i Lowercase letter a-z . L Non-lowercase letter Aa-z . u Uppercase letter A-Z . U Non-uppercase letter aa- Z . i Identifier character defined by isident. I Any non-digit identifier character. k Keyword character defined by iskeyword often set by language modes. K Any non-digit keyword character. f Filename character defined by isfname. Operating system dependent. F Any non-digit filename character. P Printable character defined by isprint usually x2 0-x7E. P Any non-digit printable character. Table 1-38. Anchors and zero-width tests