Perl Cheat Sheet



PrevNext

Perl enables you to write powerful programs right from the start, whether you’re a programming novice or expert. Perl offers the standard programming tools — comparison operators, pattern-matching quantifiers, list functions — and has shortcuts for inputting character ranges. Perl also offers file tests so you can find what you want fast. Cheat Sheet is Here: Perl 6 Book: tutorial is a 400 page Perl 6 tu.

Sas perl cheat sheet

When learning regexes, or when you need to use a feature you have not used yet or don't use often, itcan be quite useful to have a place for quick look-up. I hope this Regex Cheat-sheet will provide such aid for you.

Sheet

Character Classes

Regex Character Classes and Special Character classes.

TODO: add examples w and d matching unicode letters and numebers.

Quantifiers

'Quantifier-modifier' aka. Minimal Matching

Other

Grouping and capturing

Anchors

Modifiers

Perl Regular Expressions Cheat Sheet

Extended

Other Regex related articles

Official documentation

Published on 2015-08-19

Comments

Sheets In the comments, please wrap your code snippets within <pre> </pre> tags and use spaces for indentation.Please enable JavaScript to view the comments powered by Disqus.comments powered by Disqus

Perl Regular Expression Cheat Sheet

If you have any comments or questions, feel free to post them on the source of this page in GitHub. Source on GitHub.