RegExp: use PCRE_NEWLINE_ANY option for PCRE
This allow to have the same match regardless of current platform.
RegExp: fix: don't use negative position for substring
This is for case that capture group (subpattern) was skipped during RE match
RegExp: Add GetNamedSubPatternNumber function
RegExp: cosmetics
RegExp: report malloc errors
RegExp: refactoring: move OVECCOUNT to class
RegExp: add "IsValidSubNumber" private function
RegExp: validate Sub number
RegExp: add "const" to many functions
RegExp: add functions overloads to deal with named subpatterns like with numbered subpatterns
RegExp: change return type of "RegExp::RegComp" from 'CRegExp*' to 'bool'
Pointer is almost useless and just boolean is actually used
RegExp::RegFind: refactoring
* store and use only needed part of subject string
* allow to specify number of characters to test
* check for invalid startoffset values
* unsigned type for startoffset
RegExp::GetReplaceString: rewrote
* fix use of unallocated memory with not matched result
* support "\10"-"\20"
* wider use std::string
XBMCTinyXML: use new RegExp::RegFind
ExternalPlayer: Small optimization of RegExp::GetReplaceString call
Merge pull request #3435 from Karlson2k/regexp_rework_03

RegExp rework - part 03