Thread: function re()
View Single Post
Old 06-23-2014, 11:09 AM   #6
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Brackets are use to create character classes, like [a-z] for lowercase letters; as such, special characters like dot-match-all have no special meaning within the brackets.

Inside a character class, only \^]- have non-literal meanings.

$ when inside a regex gets passed to the regex instead of being translated by calibre first.

Last edited by eschwartz; 06-23-2014 at 11:18 AM.
eschwartz is offline   Reply With Quote