Closed gregnis closed 4 weeks ago
what are real world examples of this?
It appear to work correctly if I remove \s from
setting: $ => seq(
alias(/[^;#=\s\[]+/, $.setting_name),
'=',
alias(/.+/, $.setting_value),
choice('\n','\r\n'),
),
like this:
setting: $ => seq(
alias(/[^;#=\[]+/, $.setting_name),
'=',
alias(/.+/, $.setting_value),
choice('\n','\r\n'),
),
what are real world examples of this?
You can sees examples at https://en.wikipedia.org/wiki/INI_file:
[fruit.Date]
taste = novel
Trademark Issues="truly unlikely"
The following example produces errors: