Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Introduction

Regular expressions can be used to perform an in-depth quality assurance check. XTM Cloud provides a series of predefined regexes in the QA profile in XTM UI. You can also add your own custom regex. QA profiles can be global or customer-specific. You can assign just one QA profile to a project, but within that one profile, it is also possible to add multiple QA checks.

IMPORTANT!

Please, keep in mind that this module requires some pre-existing knowledge of regular expressions!


How does it work?

Regular expressions can be defined in QA profiles in XTM UI (please, click here for more information). You can use predefined regexes or create your own ones (custom regexes).

You can use a custom regex to generate QA warnings in a very specific case. In the following example, we will use a regex to identify an email address: \b[\w.!#$%&’*+\/=?^`{|}~-]+@[\w-]+(?:\.[\w-]+)*\b.

Thanks to the matching types (broad match/ phrase match/ exact match) you can set the level of consistency required between the source and target text.

Please, see below the description of each level, basing on the example of the above-mentioned regex pattern for email addresses.

Matching type

Source text (EN)

Target text (EN) generating QA warning

Further explanation

Broad match

It checks if an email address is included in the target.

To find out more, get in touch with our support team: supportxtm-intl.com.

To find out more, get in touch support team: supportxtm-intl.com.

The broad match checks whether the given text contains an email address (any email address). The email address given here is missing the @ sign → we get a QA warning.

Broad match shows a QA warning for a different number of matches found in the source and in target. The regex checks if we have a valid email address. In this case, the email address is missing @: it is not a valid address so it does not match the regex → we get a warning.

Phrase match

It checks if an email address in the target is exactly the same as in the source.

To find out more, get in touch with our support team: support@cloud.xtm.

To find out more, get in touch with our support team: support@xtm-intl.com.

The phrase match checks whether the target text contains exactly the same email as in the source. The email address given here is different from the email address given in the source text: we get a QA warning.

If an email address in the target varies from the source, a warning appears. In the example, support@xtm-intl.com in the source has been replaced with support@xtm.cloud - phrase match generates a warning which would have been omitted by the broad matching type.

Exact match

Additionally to phrase match, it checks if the email addresses in target are exactly in the same order.

You can also contact one of our agents: scully@xtm.cloud or mulder@xtm.cloud.

You can also contact one of our agents: mulder@xtm.cloud or scully@xtm.cloud.

The exact match checks whether the target text contains exactly the same email as in the source and the order of the matches.

The email addresses given here in the source text are the same in the target but the order is different: we get a QA warning.

A list of email addresses has to appear in the same order both in source and target. Only the exact matching check generates a warning for this type of error.


Good to know!

QA warnings are displayed in the XTM Workbench QA panel during the QA check. Please, see the relevant article for more information: How to perform a QA check for a file.

  • No labels