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
Hi, it seems that the comment line is ignored if does not have colon inside - this means that commenting out headers stopped working. I guess it is about order of parsing actions. The line should be ignored completely if it starts with #.
The text was updated successfully, but these errors were encountered:
Hey, it can take a bit of time because Lua pattern matching is not the same as the regex in other languages but I'll try to fix it ASAP!
An example of this behavior is that we can't do (pattern1|pattern2) since Lua is not using POSIX regex.
That's the explanation of the reason of this, taken from the Lua programming language book.
Unlike several other scripting languages, Lua does not use POSIX regular expressions (regexp) for pattern matching. The main reason for this is size: A typical implementation of POSIX regexp takes more than 4,000 lines of code. This is bigger than all Lua standard libraries together. In comparison, the implementation of pattern matching in Lua has less than 500 lines. Of course, the pattern matching in Lua cannot do all that a full POSIX implementation does. Nevertheless, pattern matching in Lua is a powerful tool and includes some features that are difficult to match with standard POSIX implementations.
Hi, it seems that the comment line is ignored if does not have colon inside - this means that commenting out headers stopped working. I guess it is about order of parsing actions. The line should be ignored completely if it starts with #.
The text was updated successfully, but these errors were encountered: