refactor: make flags code reusable

flags related code defined in lregex.c and could be used in the file.
This patch makes the code usable outside of the file.
evalFlags is renamed to flagsEval.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
This solves two problems in one

First of all: https://github.com/fishman/ctags/issues/66
As a result of this patch http://sourceforge.net/p/ctags/mailman/message/31324854/ is solved as well
Fixed CRLF problem
Added reference to corresponding mailing list post
Merge branch 'win32-fnmatch' of https://github.com/ffes/ctags into ffes-win32-fnmatch
align indentations

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Merge branch 'ffes-win32-fnmatch' into deploy
align indentations

Signed-off-by: Masatake YAMATO <yamato@redhat.com>