Reorganize code around regexps
commit05ce88b374903766bd072a94069841bb356f2900
authormalc <moosotc@gmail.com>
Thu, 27 Aug 2015 01:17:58 +0000 (27 04:17 +0300)
committermalc <moosotc@gmail.com>
Thu, 27 Aug 2015 01:20:11 +0000 (27 04:20 +0300)
tree1b180e60ccaaadb003212545e8bda3a422b387c6
parent426faf0ee9db938186b7b5c4b4b6656239831aa4
Reorganize code around regexps

a. Do not open code existing percentsre
b. Add and use whitere
c. Fold rarely used res into functions that use them
   (Saving memory so to speak, cardinal sin - no measurement was performed,
    then gain it was going against Hoare's dictum to begin with)
d. More cases of unified exception/value matching
config.ml
main.ml
mupdf
utils.ml