Hello!

I am pleased to announce a new version of my Understanding JavaScript RegExp ebook. This book will help you learn JavaScript Regular Expressions step-by-step from beginner to advanced levels with hundreds of examples and exercises.

Links:

I would highly appreciate it if you’d let me know how you felt about this book. It could be anything from a simple thank you, pointing out a typo, mistakes in code snippets, which aspects of the book worked for you (or didn’t!) and so on. Reader feedback is essential and especially so for self-published authors.

Happy learning :)

    • learnbyexampleOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      It’s the name of the constructor, for example:

      const pat1 = new RegExp(`42//?5`)
      

      So, I used that in the book name.

    • elint
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      They’re both alternate spellings of the same thing. Yes JS/ES/Ruby and a few other languages use “RegExp” in their standard libraries. Henry Spencer referred to one of his regex libraries as “regexp” as far back as 1986. I prefer regex because that’s what I learned first, and it’s easier to say “regexes” when you want to pluralize it, but I’ve seen both forms pop up over the years.

      /regexp?/