[EN Dimension] Add ' to Foot symbols (#1820)
Fix for issue #1820, 5' to be recognized as type=dimension, unit=Foot, value=5. Test case added to DimensionModel
This would also require extra processing to avoid matching as surrounding single-quote. Like in '5'.
yes I thought so, but the same kind of processing should be required also for " (inch) which is currently included in the unit list ("5" returns 5 inches).
Do you have an estimate to handle the mentioned "quote" issue?
I have not looked into the "quote" issue yet, I was trying to tackle the python failure first. The problem there is that list elements in the yaml file are converted to raw strings, but while " is correctly converted to r'"', ' becomes r'\''. Do you have any suggestion on how to solve it?
Do you have an estimate to handle the mentioned "quote" issue?
I have not looked into the "quote" issue yet, I was trying to tackle the python failure first. The problem there is that list elements in the yaml file are converted to raw strings, but while " is correctly converted to r'"', ' becomes r'''. Do you have any suggestion on how to solve it?
This would also require a change in the Python code generator. We can add it once the .NET version is finalized.
@tellarin, added regex to handle the quote issue (merged with the existing NonUnitRegex)