Documentation generator syntax pattern bug #4072
Labels
bug
An issue that needs to be fixed. Alternatively, a PR fixing an issue.
completed
The issue has been fully resolved and the change will be in the next Skript update.
documentation
Related to Skript's official documentation.
priority: low
Issues that are not harmful to the experience but are related to useful changes or additions.
In a group part of a pattern, an empty group is not included properly in the documentation:
Skript/src/main/java/ch/njol/skript/effects/EffVehicle.java
Line 50 in 9547172
(notice
(any|the|)
)The last
|
is removed on the docs, and probably should have been replaced with an optional group surrounding it (since(any|the|)
is equal to[(any|the)]
), but this replacement is done incorrectly, as the first[
is placed in the wrong position, in this case at the start of the pattern instead of right before the group.Related: #4011
The text was updated successfully, but these errors were encountered: