Added GPLv3 header to all source files
JavaDoc and many small improvements
refactor
corrected comment
Added getBuffer method to RegexScanner