regex-for-regular-folk

?? Regular Expressions for Regular Folk — A visual, example-based introduction to RegEx [BETA]

Github stars Tracking Chart

Regular Expressions for Regular Folk

Node CI
Latest Version

This is an experimental “book” about regular expressions. It is largely visual and example-based, as opposed to most regex resources I found while I was learning. I also attempted to choose test cases that highlight some common gotchas. I think it’ll be worth your time.

Screenshot from /chapters/escapes

This book’s intended audience is regex beginners. Some programming experience is assumed. It does not go into advanced regex concepts like engine backtracking and recursive regexes—at least not at the moment.

This is also an open source project, and contributions are welcome.

Read it online.

Translations

Translations are welcome, as long as they adhere to the license.

Printing

A single-page version of the book is available. Print it ordinarily. Make sure to enable “Print Background Colors” on Firefox and “Background graphics” (under “More settings”) on Chrome.

Releases

Check the releases tab for a list of releases. A PDF version of each release—book.pdf—is present under “Assets”.

Built With

Acknowledgements

Thanks to all contributors for creating issues, sharing feedback, and creating pull requests!

I referred to RegExr and its community patterns—great resources. I also borrowed some examples from the iHateRegex collection.

Contributing

Thanks for taking the initiative to contribute to REFRF! ?

Please check our Contribution Guide for more information.

License

Chapter content (chapters/*) is licensed under CC BY-SA 4.0.

The source code for the website is licensed under the MIT License


Cover

Main metrics

Overview
Name With Ownershreyasminocha/regex-for-regular-folk
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 2)
Platform
License:
所有者活动
Created At2019-09-03 10:55:32
Pushed At2023-06-10 00:55:54
Last Commit At2021-08-18 02:12:51
Release Count3
Last Release Name0.2.0 (Posted on )
First Release Name0.1.0 (Posted on )
用户参与
Stargazers Count289
Watchers Count5
Fork Count22
Commits Count203
Has Issues Enabled
Issues Count24
Issue Open Count13
Pull Requests Count5
Pull Requests Open Count10
Pull Requests Close Count2
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private