False positives in numeric mismatches

*For any information, please contact XXX at 04.92.00.92.10 *
W celu uzyskania dalszych informacji prosimy o kontakt z XXX pod numerem 04-92-00-92-10

(7am-09:30am) and dinner (6:30pm-9:30pm)
(07:00–09:30) oraz kolację (18:30–21:30)

Could such cases be made false-positive-proof?

1 Like

24m2 Superior rooms are…
Pokoje superior 24 m²

  1. The following search should find all instances that have 5 numbers separated by dot in source and separated by - in target.
    Source: "<([0-9]+)=1\.([0-9]+)=2\.([0-9]+)=3\.([0-9]+)=4\.([0-9]+)=5"
    Target: "<@1-@2-@3-@4-@5>"
    Search mode: Regular Expressions
    PowerSearch: On.
    If you want to detect all segments that do not have numbers separated by - in target, change target to -"<@1-@2-@3-@4-@5>".

  2. Regarding the second questions, it requires creating two checklist entries for each hour of the 24 hours.
    This search will detect 7am as 07:00.
    Source: "<0?7am"
    Target: <0?7:00>
    Search mode: Regular Expressions
    PowerSearch: On.

    This other search will detect 09:xxpm in source as 21:xx in target.
    Source: "<0?9(:[0-9]{2})=1pm"
    Target: <21@1>
    Search mode: Regular Expressions
    PowerSearch: On.

  3. Last but not least, use the following one to detect m2 as m².
    Source: "<([0-9]+)=1+[:space:]?m2>"
    Target: <@1[:space:]m²
    Search mode: Regular Expressions
    PowerSearch: On.

Hi Oscar,

many thanks for your work and my deep apologies that I wasn’t clear enough, but this is not what I wanted. My humble request was if your pre-made Numeric Mismatch check, which you offer as one of those checks that are ready to go, could be made to ignore such cases. Currently it catches all of them, which in my projects lead to it being practically useless, as it generates way too many false positives.

The numeric mismatch check is not able to discard these false positives.

To hide them from the QA results, select Hide Marked at the Filter Issues section of the QA options toolbar. Then, select the issue and press Ctrl+M.