Skip to content

how do I regex_syntax crate for translating two posix descendant regexes syntaxes? #838

Answered by BurntSushi
kaiuri asked this question in Q&A
Discussion options

You must be logged in to vote

Also, I noticed that you deleted a comment you made here? Again, why? It contained useful information! This is what I see in my inbox:

I'm looking for a way to convert this crate's regular expressions into vim's regex implementation. Initially i thought about writing a compatible parser for vim's regex and from there implementing this crate's Visitor, which is private. Maybe a wrapper would do, but it came to me, since I'm still kind of a noob in Rust and programming, that there must sure be an easier way and i just couldn't find it.

PS: On the subject of NFA, that is a backup plan in storage if the above doesn't pan out or gets to big for me to complete.

So the first thing to note here…

Replies: 4 comments 10 replies

Comment options

You must be logged in to vote
2 replies
@kaiuri
Comment options

@BurntSushi
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by kaiuri
Comment options

You must be logged in to vote
1 reply
@BurntSushi
Comment options

Comment options

You must be logged in to vote
7 replies
@kaiuri
Comment options

@BurntSushi
Comment options

@kaiuri
Comment options

@BurntSushi
Comment options

@kaiuri
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants