news.volyx.in

Show HN: RegEx for Regular Folk – A visual, example-based introduction (refrf.shreyasminocha.me)

502 points by shreyasminocha · 2349 days ago · 108 comments on HN

Article summary

The article introduces a visual and example-based introduction to regular expressions, titled 'Regular Expressions for Regular Folk'. This resource is intended for regex beginners with some programming experience and covers various concepts such as character classes, groups, and repetition. The project is open-source and welcomes contributions. The article also mentions that translations are welcome and that a single-page version of the book is available for printing.

Main themes

  • regex learning resources
  • example-based learning
  • book structure and organization
  • technical documentation
  • regex for beginners
  • open-source contributions

What commenters say

  • The current structure of the book may be improved by reorganizing chapters to introduce features before using them in examples.
  • The use of examples is an effective way to learn regex, and more documentation should start with examples.
  • The introduction to the book is too short and should include motivational examples to help new programmers understand the importance of regex.
  • The book's title may be misleading as it is not suitable for 'regular folk' but rather for technically inclined individuals.
  • The book could benefit from additional features such as hover-over text to highlight reciprocal matches.
  • The book is a valuable resource for learning regex, especially for those who prefer an example-based approach.
  • The book should explicitly explain all concepts, including flags like /g, to avoid confusion among beginners.
  • The book's approach to teaching regex is effective and should be applied to more advanced topics in the field.