Skip to content

Conversation

cuviper
Copy link
Contributor

@cuviper cuviper commented Jun 11, 2019

No description provided.

@cuviper
Copy link
Contributor Author

cuviper commented Jun 11, 2019

See also rust-lang/rustc-demangle#23

@luser
Copy link
Owner

luser commented Jun 24, 2019

Sorry for letting this sit for two weeks! #11 just got submitted, the patch has very minor differences. Do you think any of them are relevant?

@@ -33,7 +33,7 @@ mod tests;

lazy_static! {
// NOTE: Use [[:alnum::]] instead of \w to only match ASCII word characters, not unicode
static ref MANGLED_NAME_PATTERN: Regex = Regex::new(r"_ZN[\$\._[:alnum:]]*").unwrap();
static ref MANGLED_NAME_PATTERN: Regex = Regex::new(r"_[RZ]N[\$\._[:alnum:]]*").unwrap();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_R symbols don't necessarily start with _RN.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cuviper
Copy link
Contributor Author

cuviper commented Jun 24, 2019

I'll yield to #11.

@cuviper cuviper closed this Jun 24, 2019
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

Successfully merging this pull request may close these issues.

3 participants