TAILIEUCHUNG - HandBooks Professional Java-C-Scrip-SQL part 216

Tham khảo tài liệu 'handbooks professional java-c-scrip-sql part 216', 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ả | Python Python provides a rich Perl-like regular expression syntax in the re module. The re module uses a Traditional NFA match engine. For an explanation of the rules behind an NFA engine see Section . This chapter covers the version of re included with Python although the module has been available in similar form since Python . Supported Metacharacters The re module supports the metacharacters and metasequences listed in Table 121 through Table 1-25. For expanded definitions of each metacharacter see Section . Table 1-21. Character representations Sequence Meaning a Alert bell x07. b Backspace x08 supported only in character class. n Newline x0A. r Carriage return x0D. f Form feed x0C. t Horizontal tab x0 9. v Vertical tab x0B. octal Character specified by up to three octal digits. xhh Character specified by a two-digit hexadecimal code. uhhhh Character specified by a four-digit hexadecimal code. Uhhhhhhhh Character specified by an eight-digit hexadecimal code. Table 1-22. Character classes and class-like constructs Class Meaning . Any character listed or contained within a listed range. r. Any character that is not listed and is not contained within a listed range. . Any character except a newline unless DOTALL mode . w Word character a-zA-z0-9_ unless LOCALE or UNICODE mode . W Non-word character Aa- zA- z0-9_ unless LOCALE or UNICODE mode . d Digit character 0-9 . D Non-digit character A0-9 . s Whitespace character t n r f v . S Nonwhitespace character t n r f v . Table 1-23. Anchors and zero-width tests Sequence Meaning A Start of string or after any newline if in MULTILINE match mode. A Start of search string in all match modes. End of search string or before a string-ending newline or before any newline in MULTILINE match mode. Z End of string or before a string-ending newline in any match mode. b Word boundary. B Not-word-boundary. . Positive lookahead. . Negative lookahead. . Positive lookbehind. . Negative lookbehind. Table 1-24.

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.