Day: April 3, 2014
-
Java anchored regex
I just discovered this today when doing some regex in Java. When I first started doing regex in Java, I was surprised to learn that Java seems to treat all regular expressions as anchored. That is, if you have a string foobar and search for “foo” it will not match. This is different than grep,…
Join 164 other subscribers
Archives
Category
- ►Computers (128)
- ►cooking (43)
- ►environmentalism (4)
- ►general (14)
- ►linguistics (15)
- ►mindfulness (4)
- ►photography (15)