79181332

Date: 2024-11-12 13:37:55
Score: 2.5
Natty:
Report link

Looks like its related to using a sub-rule ('\'' expression):

'$' currencyExpression? expression ('\'' expression)?

If I change the expression grammar to:

expression
    : '$' currencyExpression? expression'\''expression      #finAmountWithNB10
    | '$' currencyExpression? expression                    #finAmount 

It's now parsing the way I want:

enter image description here

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Renaud