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

[feature request] bloblang support for raw string literal #132

Open
fearfate opened this issue Nov 14, 2024 · 1 comment
Open

[feature request] bloblang support for raw string literal #132

fearfate opened this issue Nov 14, 2024 · 1 comment
Labels
bloblang Bloblang features needs more info An issue that may be a bug or useful feature, but requires more information

Comments

@fearfate
Copy link

It is very cumbersome and frustrating to write regular expressions or access object keys without raw string literals.

need support for this

# now
foo.re_match(“[0-9][0-9]\\.”)

# want
foo.re_match('[0-9][0-9]\.')
# or
foo.re_match(`[0-9][0-9]\.`)

@mihaitodor
Copy link
Collaborator

Hey @fearfate, please try the following:

foo.re_match("""[0-9][0-9]\.""")

@mihaitodor mihaitodor added bloblang Bloblang features needs more info An issue that may be a bug or useful feature, but requires more information labels Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bloblang Bloblang features needs more info An issue that may be a bug or useful feature, but requires more information
Projects
None yet
Development

No branches or pull requests

2 participants