Test, validate and match regular expressions
This regex parses unit conversion queries by capturing a numeric value, a source unit, and optionally a conversion keyword (in/to/as/>) followed by a target unit. It's designed for KDE's KRunner converter plugin to interpret inputs like '100 km in miles' or '5 kg to lbs'. Supports currency symbols via \p{Sc} along with common unit notation characters like quotes, carets, and slashes.