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

Improve new line pattern. #6733

Merged
merged 3 commits into from
Jul 1, 2024
Merged

Conversation

Moderocky
Copy link
Member

Description

The current pattern for the new line literal is n[ew]l[ine] or line[ ]break.
A keen-eyed observer might spot that this means nline and newl are both valid options, but new line isn't, which seems a little silly.

I've changed it to nl, new[ ]line or line[ ]break.

Since this is technically a breaking change (for all the die-hard newl fans out there) I'm entering it for feature instead of patch.


Target Minecraft Versions: any
Requirements: none
Related Issues: none

@Moderocky Moderocky added the breaking changes Pull or feature requests that contain breaking changes (API, syntax, etc.) label May 28, 2024
@Moderocky Moderocky requested a review from sovdeeth May 29, 2024 17:21
@sovdeeth sovdeeth added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label May 30, 2024
@sovdeeth sovdeeth added 2.9 Targeting a 2.9.X version release feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version. labels Jun 28, 2024
@sovdeeth sovdeeth merged commit 1d587d4 into SkriptLang:dev/feature Jul 1, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.9 Targeting a 2.9.X version release breaking changes Pull or feature requests that contain breaking changes (API, syntax, etc.) enhancement Feature request, an issue about something that could be improved, or a PR improving something. feature-ready A PR/issue that has been approved, tested and can be merged/closed in the next feature version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants