version 1.65, 2019/11/10 20:40:59
|
version 1.66, 2020/03/12 20:20:13
|
Line 41 while (!$_LONCAPA_INTERNAL_oldexpression
|
Line 41 while (!$_LONCAPA_INTERNAL_oldexpression
|
# or hash dereferences {} |
# or hash dereferences {} |
# the ^$ and ^& is because we do this iteratively |
# the ^$ and ^& is because we do this iteratively |
# $a[$c] becomes $a[3] which then evaluates |
# $a[$c] becomes $a[3] which then evaluates |
([\[\{][^\$\&\]\}]+[\]\}])*? |
((?:[\[\{][^\$\&\]\}]+[\]\}])+|) |
# $3 is the list of arguments |
# $3 is the list of arguments |
(\([^\$\&\)]+\))*? |
(\([^\$\&\)]+\))*? |
# only match the above if there is not { [ ( coming up |
# only match the above if there is not { [ ( coming up |