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

Please document regex feature #5

Open
nbartos opened this issue Nov 25, 2015 · 1 comment
Open

Please document regex feature #5

nbartos opened this issue Nov 25, 2015 · 1 comment

Comments

@nbartos
Copy link

nbartos commented Nov 25, 2015

I think the regex field matching option needs some documentation. For example expect using [^"]* or [^\"]* to work for each field in the below line, but it does not appear to.

"11/09/2010","ACH","","Electronic Deposit","","$1000.00","$1000.00"

@stant
Copy link
Owner

stant commented Feb 3, 2016

to do csv with a regex, this should work: ([^,]([,]|\Z)).
to split tabs like for excel: ([^\t]([\t]|\Z)).

it is using standard perl/java regex notation. It's powerful but a lot to teach. You can look it up though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants