yoavnir / specs2016

New version of the specs pipeline stage based on what's in current CMS pipelines
MIT License
1 stars 1 forks source link

Multiple field separators #184

Closed yoavnir closed 5 months ago

yoavnir commented 2 years ago

Allow the user to specify a string with multiple separator characters.

Example: Suppose the input record looks like this:

192.168.1.100:443

I would like to be able to make the following specification:

specs fs :. f1 1 f5 nw

and get

192 443

Should apply also to field separators within a SUBSTR token. Currently , I get an error message:

Error reading specification tokens: Bad separator or pad character <:.>  with length 2 at index 2. Must be single character.
yoavnir commented 6 months ago

Same for word separator? So we can have, say, spaces and tabs?