Skip to content
This repository was archived by the owner on Jul 6, 2026. It is now read-only.

Fix RegExp too greedy in function setSegment#2

Open
imadevel wants to merge 1 commit into
TECLIB:teclibfrom
imadevel:teclib
Open

Fix RegExp too greedy in function setSegment#2
imadevel wants to merge 1 commit into
TECLIB:teclibfrom
imadevel:teclib

Conversation

@imadevel

Copy link
Copy Markdown

If you have multiple segments with the same name in your odt, the RegExp in function setSegment matches all of them at once. The RegExp shoud be lazy.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant