Skip to content

Code only multiplies the first number found on each ingredient line #1

@ezeYaniv

Description

@ezeYaniv

Need to implement the global modifier for regex so that it iterates over the whole li item instead of just the first number it finds.
Also need to implement rules to sort which numbers should be converted and which shouldn't (ie. 2 cups carrots cut into 1-inch pieces)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions