Timeline for Mixed Fraction Equality
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 25, 2018 at 0:01 | history | edited | Neil | CC BY-SA 4.0 |
added 99 characters in body
|
Jul 25, 2018 at 0:00 | comment | added | Neil | @sundar Ah, of course, because I want to match the whole numerator anyway, so it's easier if I don't have the integer part getting in my way, thanks! | |
Jul 24, 2018 at 23:56 | comment | added | Sundar R |
The / makes it unambiguous what you're matching, so I don't think you need the anchor there (going by usual regex matching rules, no Retina expertise here). Seems to work anyway: Try it online!.
|
|
Jul 24, 2018 at 23:54 | comment | added | Neil |
@sundar I'd have to change it to ^ instead, so it doesn't help.
|
|
Jul 24, 2018 at 23:23 | comment | added | Sundar R | @H.PWiz I don't think we have to deal with inputs where the numerator is greater than the denominator (since these are supposed to be mixed fractions with only the non-integral decimal part expressed as a fraction). But I'll ask the OP to confirm that. | |
Jul 24, 2018 at 23:21 | comment | added | Sundar R | Note that " You may drop the integer part (not take it as input) if you do not need to use it." - so the leading space may be unnecessary if you change the input to have only the fraction. | |
Jul 24, 2018 at 23:14 | comment | added | H.PWiz |
Doesn't work for 1 11/10 . It seems to be a problem with your implementation, not the method
|
|
Jul 24, 2018 at 22:54 | history | answered | Neil | CC BY-SA 4.0 |