Documentation Doc error for @BETWEEN

May 29, 2008
572
4
Groton, CT
Charles Dye,
Code:
@BETWEEN — Returns the portion of a string between two delimiters. 
...
(Exception: If you want to use a close bracket as a delimiter, escape it.)

Nope, close brackets prove not to be exceptional for this plugin.

Code:
C:\> echo %@between[[^],[6] This is line 6 of some file.]
TextUtils plugin: Missing comma

C:\> echo %@between[[],[6] This is line 6 of some file.]
6
 
Or UNMATCHED close bracket.

OTOH, these also don't work:
Code:
> echo %@between[a^],[a6] This is line 6 of some file.]
TextUtils plugin: Missing comma

> echo %@between[a],[a6] This is line 6 of some file.]
TextUtils plugin: Missing argument
 
For what it's worth my intended usage is:
Code:
set linenum=%@between[[],%@execstr[*ffind /k /m /l /t"some text"  somefile.txt]]