// [ github.com/3F Whitespace-Example1 (wspace-v0.3)
...
/**
* To work with an interval:
* ,_________,
*{word} ... {word}
*/
udiff_t interval();
/** forward to next SPLIT-block */
bool nextBlock(tstring::const_iterator& it, bool delta =true);
private:
/** this is target sequence */
tstring _text;
/** the main pattern */
tstring _filter;
inline tstring _lowercase(tstring str) throw()
{
transform(str.begin(), str.end(), str.begin(), towlower);
return str;
};
...
Ly8gIFsgZ2l0aHViLmNvbS8zRgkgCVdoaXRlc3BhY2UtRXhhbXBsZTEgKHdzcGFjZS12MC4zKQkJCiAKLi4uIAkKLyoqICAJCiogVG8gd29yayB3aXRoIGFuIGludGVydmFsOgkgCSAgICAKKgksX19fX19fX19fLAoqe3dvcmR9IC4uLiB7d29yZH0gICAJCQkgIAkgCiovCQp1ZGlmZl90IGludGVydmFsKCk7ICAgIAkJICAJCQkKCQovKiogZm9yd2FyZCB0byBuZXh0IFNQTElULWJsb2NrICovCSAgCQkgCgkKYm9vbCBuZXh0QmxvY2sodHN0cmluZzo6Y29uc3RfaXRlcmF0b3ImIGl0LCBib29sIGRlbHRhID10cnVlKTsJICAgICAKCQpwcml2YXRlOiAgICAgCQkgICAgCgkKLyoqIHRoaXMgaXMgdGFyZ2V0IHNlcXVlbmNlICovCQkJCSAgIAoJCnRzdHJpbmcgX3RleHQ7ICAgIAkJICAJCQoJCi8qKiB0aGUgbWFpbiBwYXR0ZXJuICovIAkgICAJCSAKCQp0c3RyaW5nIF9maWx0ZXI7IAoKCmlubGluZSB0c3RyaW5nIF9sb3dlcmNhc2UodHN0cmluZyBzdHIpIHRocm93KCkKewoJdHJhbnNmb3JtKHN0ci5iZWdpbigpLCBzdHIuZW5kKCksIHN0ci5iZWdpbigpLCB0b3dsb3dlcik7CglyZXR1cm4gc3RyOwp9OwouLi4KCgo=