Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/remram44/regex-cheatsheet
Cheatsheet for different regex syntaxes
https://github.com/remram44/regex-cheatsheet
cheatsheet regexes regular-expression
Last synced: 5 days ago
JSON representation
Cheatsheet for different regex syntaxes
- Host: GitHub
- URL: https://github.com/remram44/regex-cheatsheet
- Owner: remram44
- License: mit
- Created: 2015-04-12T06:19:14.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-12-18T17:19:06.000Z (about 2 months ago)
- Last Synced: 2025-01-27T18:07:39.589Z (13 days ago)
- Topics: cheatsheet, regexes, regular-expression
- Language: HTML
- Homepage: https://remram44.github.io/regex-cheatsheet/regex.html
- Size: 109 KB
- Stars: 279
- Watchers: 9
- Forks: 65
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Cheatsheet for regex syntaxes
=============================Many programs use regular expression to find & replace text. However, they tend
to come with their own different flavor.You can probably expect most modern software and programming languages to be
using some variation of the Perl flavor, "PCRE"; however command-line tools
(grep, less, ...) often use the POSIX flavor (sometimes with an extended
variant, e.g. `egrep` or `sed -r`). ViM also comes with its own syntax (a
superset of what Vi accepts).This cheatsheet lists the respective syntax they each use.
If you spot errors or missing data, or just want to make this prettier/more
accurate, don't hesitate to open an [issue][is] or a [pull request][pr].The rendered cheatsheet is available here: [regex cheatsheet][cc]
Note that this is still a work in progress; a lot of entries need some details
in some kind of tooltip.[cc]: https://remram44.github.io/regex-cheatsheet/regex.html
[is]: https://github.com/remram44/regex-cheatsheet/issues/new
[pr]: https://github.com/remram44/regex-cheatsheet/compare/