The last few weeks made me think about renaming my book. Because ES6 was ES2015. Of course when I started writing ES6 in Practice, I included those two small ES2016 updates. Then I promised a bonus chapter on ES2017 including […]
A regular expression is converted into code executed in a virtual machine. This virtual machine runs on the virtual machine of the host language or editor. Abstract models make us understand how regular expressions are executed. Although these models often […]
We will now use python.org's shell to start getting familiar with regular expressions in Python. The re Python module gives you support for PCRE style regular expressions. You can import this module with import re. [crayon-604005b733a54394320136/] The compile method of […]
This blog has been about JavaScript so far. However, with the topic of regular expressions, we are diving in more deep waters. As a refresher, some other languages will also surface on our horizon. In this post, we will get […]
It is very easy to experiment with JavaScript regular expressions, as JavaScript is accessible in all browsers. I will use the Chrome Developer Tools to execute regular expressions. The > symbol denotes an input. The return value and console logs […]
I still remember my doomed encounters with regular expressions back when I tried to learn them. In fact, I took pride in not using regular expressions. I always found a long workaround, a code snippet that was quite long. I […]