Match smallest possible substring when matching the version #14
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: OSS/slackbuilder#14
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
With the actual matching it isn't always possible to match some versions like 1.x.y where
x
is an even number. Because matching a digit will match till the end of the number, odd or even, butx
can have multiple digits and only the last one should be even.If the pattern that can match multiple characters is alredy fullfilled, try to match the next pattern (recursively). And only if the next pattern doesn't match, mark the character as matched with the current pattern.