Support for <same> inside pattern (Quality Checker)

Issue #793 resolved
YvesS created an issue

Currently the <same> keyword in the Quality Checker can be used only as the full entry, replacing the pattern.

This does not support cases where additional information could be useful, for example <same>$ would check on the source match at the end of the segment. Currently this entry check the literal character sequence <,s,a,m,e,> at the end of the segment.

Comments (3)

  1. YvesS reporter

    Another, more drastic change, could be to leave the handling of <same> unchanged (or not), and add support for replacement groups: $0 would be the equivalent of <same>, and then any capture group in the source could be represented with $N in the target. this would give additional flexibility to the target pattern.

  2. Log in to comment