-
Notifications
You must be signed in to change notification settings - Fork 1
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 achieve the given example #3
Comments
Thanks for this bug report! I'll look into this as soon as I can. @ChandelierX Could you re-run the example with the export RUST_BACKTRACE=1
retest '\w+\s' --subject 'fee fi fo fum' |
Of course I'd like to post the backtrace. The following snippet is the output:
I can't figure out what's wrong with it. And sorry for the delayed reply. |
Thanks, that helped me identify the issue. Oddly, it seems that the program crashes when it tries to write color escape codes to your terminal. Perhaps it could not load the terminfo database? Try installing For the future, I will update the code to fail more gracefully and print an error message in this situation. |
@ChandelierX The latest version (0.2.3) now prints an error message when this happens giving a hint to the problem. |
@sagebind The good news is: now it works well in both konsole and xTerm of mine.
|
I did update my dependencies, so perhaps that pulled in an upstream bugfix. I'm glad it is working now! |
No matter whether I use
cargo build
orsudo make install
, when I callecho 'fee fi fo fum' | retest 'f\w\w'
orretest '\w+\s' --subject 'fee fi fo fum'
, I get the same error like below:The install process itself gives me:
Because I don't know anything about Rust, could you please do me a favor? I really want to use this useful CLI tool for regex test.
Besides, I have
The text was updated successfully, but these errors were encountered: