mhmtio
  • Home
  • Blog
  • Working on
  • About
  • Tags
  • Search
mhmtio

Search mhmtio

#regular expressions


Matching newlines with dot in regular expressions

(They need a little nudge)

Posted on 6 October 2019

Today must have been the first time in a long while that I wanted to match regular expressions across multiple lines. At least long enough that I forgot the following:

By default the dot in regular expressions does not include newlines.

(At least not in many languages, my example being Java.)

[Read More]
#regular expressions 

Matthias Hanitzsch-Moonlight  •  2020  •  mhmtio

Hugo v0.72.0 powered  •  Theme by Beautiful Jekyll adapted to Beautiful Hugo