You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We discovered that the regex used for import and plugin have a ? at the end of them, which means @plugi and @impor work as well as @plugin and @import.
We discovered that the regex used for
import
andplugin
have a?
at the end of them, which means@plugi
and@impor
work as well as@plugin
and@import
.These are defined here: https://github.com/less/less.js/blob/master/packages/less/src/less/parser/parser.js#L1687 and https://github.com/less/less.js/blob/master/packages/less/src/less/parser/parser.js#L1847.
This doesn't look like an intentional decision and more of a regex mistake. See here for example inputs: https://regex101.com/r/NUw7E2/2
Is this correct?
The text was updated successfully, but these errors were encountered: