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

Use plain string matching #9

Merged
merged 1 commit into from
Dec 25, 2023
Merged

Use plain string matching #9

merged 1 commit into from
Dec 25, 2023

Conversation

intr-cx
Copy link
Contributor

@intr-cx intr-cx commented Dec 25, 2023

Hey, first of all thanks for making this plugin!

This is just a simple PR to fix a bug with Org files, by using plain matching instead of regex.

eval_code_block fails to parse the language specifier in Org files due to string.find using regex matching by default. #+BEGIN_SRC will be interpreted as a regex and thus fail to match "#+" literally.

@jubnzv
Copy link
Owner

jubnzv commented Dec 25, 2023

Thank you @intr-cx

@jubnzv jubnzv merged commit 2c32e2f into jubnzv:master Dec 25, 2023
1 check passed
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.

2 participants