Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I'd say it's looking for inline JavaScript tags, I guess something like this maybe?
<whatever><!--[[
function whatever(something)
]]--></whatever>
Anyway, there are strange constructs in that regex, like using {0,} instead of *, or using square brackets as if they were group capturing delimiters, like using [[[<|<] instead of (\[\[<|<).
I don't know, I might be completely missing the point of that regex, though. -
Asbetha6726yNah I'm parsing through a LUA script file which contains comments that have a similar structure like xml but it isn't really xml
-
Asbetha6726y@BM32 it looked so good with the snipping tool :c
@cjbatz & @dontPanic I have something round about 100 unit tests for that ... because if it doesn't work anymore ... I'm pretty f...ed :D -
This is what gives me nightmares. Thank god that Django came out with an easier system in 2.0
I heared you like regular expressions
rant