Syntax highlighting using Mediawiki formatting: Difference between revisions
Syntax highlighting using Mediawiki formatting (view source)
Revision as of 07:31, 18 October 2023
, 8 months ago→{{header|Julia}}: shorten for
m (→{{header|Julia}}: more comments) |
m (→{{header|Julia}}: shorten for) |
||
Line 535:
either = Regex("$startcomment|$stopcomment", "sa")
depth, startpos, stoppos = 0, 0, 0
'''for'''
'''if''' m.match == startcomment
startpos = startpos == 0 ? m.match.offset : startpos
|