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

Bug Report - Regular Expression Capability Mismatch #301

Closed
malvidin opened this issue May 9, 2018 · 2 comments
Closed

Bug Report - Regular Expression Capability Mismatch #301

malvidin opened this issue May 9, 2018 · 2 comments

Comments

@malvidin
Copy link

malvidin commented May 9, 2018

"Regular Expression" and "Find/Replace" recipes don't use the same regex capabilities.

Regular Expression:
\p{Greek}+

Input:
\p{Greek}
Ναδ

Regular Expression Output:
\p{Greek}
Ναδ (Highlighted)

Find/Replace Output:
\
Ναδ

@n1474335
Copy link
Member

Good spot. The 'Regular Expression' operation uses the XRegExp library which supports Unicode character groups, whereas the 'Find / Replace' operation just uses native JS regular expressions which does not. I'll look to add XRegExp support to 'Find / Replace' soon.

@n1474335
Copy link
Member

Fixed in bf26438

BRAVO68WEB pushed a commit to BRAVO68WEB/CyberChef that referenced this issue May 29, 2022
BRAVO68WEB pushed a commit to BRAVO68WEB/CyberChef that referenced this issue May 29, 2022
[FIX] UI Bug Fixes for Interactive Editor + Style Refactor
Fixes gchq#301
Fixes gchq#310 
Fixes gchq#311 
Fixes gchq#312
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

2 participants