Great Project, Thanks! Simple question:

May 17, 2012 at 3:54 PM
Edited May 17, 2012 at 4:01 PM

Is there a terminal that imposes a specific set of characters constraint? I'm looking at the samples  and I cant find anything that looks like that.

I need a token that obligatorily has punctuation within it.

TIA,

Francois

Coordinator
May 17, 2012 at 4:28 PM

Just pick the terminal that fits most and hook to ValidateToken event

Roman

May 17, 2012 at 10:22 PM

Thanks!

May 17, 2012 at 11:13 PM

Quick Followup:

I need a Terminal that catches everything between " ", even  an arbitrary number of quotes (not escaped), Is that possible?

(I tried with FreeText, to no avail)

TIA,

Francois

Coordinator
May 17, 2012 at 11:14 PM

please give a source sample and desired tokens output

May 17, 2012 at 11:50 PM

 

(TOKENKEY#1="TOKENSTRING "random?stringéà" (all the way to the following quote)")

token = TOKENKEY#1

comp = =

string = TOKENSTRING "random?stringéà" (all the way to the following quote)

I cant seem to capture the funky string.

TIA,

Francois

Coordinator
May 18, 2012 at 3:18 AM

well, not clear what would be the algorithm for the terminal - when it starts moving along the string and finds a quote? what this quote - string end or embedded quote? anyway, once you clarify this algorithm, then I think your only choice is custom terminal class to implement it.