-
Notifications
You must be signed in to change notification settings - Fork 15
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
can't really capture a user's e-mail #31
Comments
I just trace it and I found that this line is actually the one who removes the "." Line 27 in b2781a8
|
Yeah I was aware of the Unicode punctuation getting in the way of that, but I just thought of a way I might work around it:
I played with it a bit here but the regexp still isn't quite right: https://play.golang.org/p/PFujU2kE0Q At first I was trying to use a lookbehind regexp like |
@distravantari for what it's worth, I’ve been needing to capture user input exactly as the user sent (emails, street addresses and so forth) and have been doing so by putting the raw input into a uservar and then pulling it out in a macro. See #34. |
maybe instead of using *regexp as UnicodePunctuation having a function in place because Go dont support lookbehind regexp i was running into similar problems with catching IPv4/IPv6 and Domains |
the "@" is working fine but it still remove the "." .
The text was updated successfully, but these errors were encountered: