Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non-/whitespace character + std. quantifiers #2

Open
3F opened this issue Feb 11, 2017 · 0 comments
Open

non-/whitespace character + std. quantifiers #2

3F opened this issue Feb 11, 2017 · 0 comments

Comments

@3F
Copy link
Owner

3F commented Feb 11, 2017

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 3F added the enhancement label Feb 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant