ENGLISH

Python re(gex)? a magical tool for text processing

Book information

Publisher
Sundeep Agarwal
Year
2019
Language
english
Format
PDF
Filesize
481 kB (492528 bytes)
Pages
71\71
Time added
2020-03-19 01:43:05

Description

Preface Prerequisites Acknowledgements Feedback and Errata Author info License Book version Why is it needed? Regular Expression modules re module Compiling regular expressions bytes regex module Cheatsheet and Summary Exercises Anchors String anchors Line anchors Word anchors Cheatsheet and Summary Exercises Alternation and Grouping Precedence rules Cheatsheet and Summary Exercises Escaping metacharacters Cheatsheet and Summary Exercises Dot metacharacter and Quantifiers Dot metacharacter Greedy quantifiers Non-greedy quantifiers Possessive quantifiers Cheatsheet and Summary Exercises Working with matched portions re.Match object re.findall re.finditer Cheatsheet and Summary Exercises Character class Custom character sets Character class metacharacters Escape sequence character sets Cheatsheet and Summary Exercises Groupings and backreferences Non-capturing groups Named capture groups Subexpression calls Cheatsheet and Summary Exercises Lookarounds Negative lookarounds Positive lookarounds Conditional AND Variable length lookbehind Negated groups Cheatsheet and Summary Exercises Flags Cheatsheet and Summary Exercises Unicode Unicode character sets Cheatsheet and Summary Exercises Miscellaneous Using dict re.subn \G anchor Recursive matching Named character sets Character class set operations Skipping matches Cheatsheet and Summary Exercises Gotchas Further Reading

Similar books