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

/(*)/ gives Tried to unwrap non-AST item: Paren(0, 1, "") #48

Closed
huonw opened this issue Mar 3, 2015 · 0 comments
Closed

/(*)/ gives Tried to unwrap non-AST item: Paren(0, 1, "") #48

huonw opened this issue Mar 3, 2015 · 0 comments

Comments

@huonw
Copy link
Member

huonw commented Mar 3, 2015

fn main() {
    regex::Regex::new("(*)");
}

panics

thread '<main>' panicked at 'Tried to unwrap non-AST item: Paren(0, 1, "")', /home/huon/.multirust/toolchains/nightly-2015-03-01/cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.16/src/parse.rs:163

(This similar happens with (?:?) etc.)

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

1 participant