regXwild icon indicating copy to clipboard operation
regXwild copied to clipboard

non-/whitespace character + std. quantifiers

Open 3F opened this issue 9 years ago • 0 comments

Add any variant for using of whitespace & non-whitespace character/s

v1 - single meta-symbol + std. quantifier

  • % - whitespace + quantifier *?+#
  • & - non-whitespace + quantifier *?+#

for example:

  • 1%+5 -> 125, 12345, ...
  • 1%##5 -> 1235, 1775, ...
  • 1%?5 -> 15, 125, 145, ...
  • 1%*5 -> 123467895, 15, ...

configurable % + & like:

search(const TCHAR* data, const TCHAR* filter, const TCHAR* whsp, const TCHAR* nonwhsp)
_T("qwerty012345...")
_T("	 ")

or simply:

search(const TCHAR* data, const TCHAR* filter, const TCHAR* whsp)
_T("	 ") - all except this is a non-whitespace character

but the first variant is more flexible for using special set of characters for both cases of % + &

3F avatar Feb 11 '17 13:02 3F