Month: September 2016
-
UNIX tip of the day – grep -P is slow
Unless you really need some advanced regular expressions only supported by PCRE, using POSIX regular expressions with grep is usually an order of magnitude faster – that’s because the default engine with grep uses finite automata, as opposed to a backtracking algorithm which PCRE uses ( the main featuress you gain from the backtracking algorithm…
Join 165 other subscribers
archives
Category
- ►Computers (132)
- ►(x)html (19)
- ►bash (9)
- ►css (13)
- ►elasticsearch (1)
- ►git (1)
- ►hardware (3)
- ►java (2)
- ►javascript (12)
- ►latex (29)
- ►linux (25)
- ►lucene (1)
- ►mac osx (10)
- ►perl (8)
- ►php (18)
- ►python (4)
- ►regex (4)
- ►software development (4)
- ►solr (1)
- ►sql (9)
- ►svn (1)
- ►UNIX (12)
- ►vim (1)
- ►wiki/cms (11)
- ►WordPress (56)
- ►(x)html (19)
- ►cooking (44)
- ►environmentalism (4)
- ►general (17)
- ►linguistics (15)
- ►mindfulness (4)
- ►music (2)
- ►photography (15)