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

Multiple field separators #184

Closed
yoavnir opened this issue May 23, 2022 · 1 comment
Closed

Multiple field separators #184

yoavnir opened this issue May 23, 2022 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed usability
Milestone

Comments

@yoavnir
Copy link
Owner

yoavnir commented May 23, 2022

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 yoavnir added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers usability labels May 23, 2022
@yoavnir yoavnir changed the title Multi-character field separator Multiple field separators May 14, 2024
@yoavnir yoavnir added this to the Version 0.9.5 milestone May 14, 2024
@yoavnir
Copy link
Owner Author

yoavnir commented May 14, 2024

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

yoavnir added a commit that referenced this issue Jul 1, 2024
Issue #184 - Allow multiple field and word separators
@yoavnir yoavnir closed this as completed Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed usability
Projects
None yet
Development

No branches or pull requests

1 participant