Make float and integer rules to accept units

XMLWordPrintable

    • Type: Improvement
    • Resolution: Unresolved
    • None
    • Affects Version/s: None
    • Component/s: Content Protection
    • Medium
    • None
    • Formats for float and integer rules support units now.
    • None

      Problem

      Right now Content protection rules are not flexible enough to support floats and integers with units (currencies, measures and alike).

      Solution

      We will change logic behind integer and float rules processing.

      Now users will be able to provide regex that covers prefix and suffix units. But format also should have them.

      So end result will be like:

      | Lang |     regex       |     format     |
      |-----------------------------------------|
      |  en  |     /# mm/      |   # mm         |
      |  uk  |     /# мм/      |   # мм         |
      |-----------------------------------------|
      |  en  |     /₴#/        |   ₴#           |
      |  uk  |     /# грн/     |   # грн        |

       

       

            Assignee:
            Sanya Mikhliaiev
            Reporter:
            Sanya Mikhliaiev
            None
            None
            Leon Kiz
            Stephan Bergmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              None
              None