When defining a tagging rule I get the above message for what normally is a valid regex expression.
What does this message mean?
Generated Image Alt-Text
[edited by: Trados AI at 4:15 AM (GMT 0) on 5 Mar 2024]

When defining a tagging rule I get the above message for what normally is a valid regex expression.
What does this message mean?
Perhaps it's because the caret at the start of the opening tag means it can't find a match at all as you don't have any inline tags beginning at the start of the extracted structure, but it can find the closing tag. Hard to know without seeing the content you are trying to tag.
Paul Filkin | RWS Group
________________________
Design your own training!
You've done the courses and still need to go a little further, or still not clear?
Tell us what you need in our Community Solutions Hub
The file content is correct
<artno>Article number
The tag pair "^<" ">" (without the quotes) has no problems with this file,
although it fails with the same message for <artno>Article <notag> number
But I now know what the message means. It seems that the tag processor makes some incorrect assumptions.
That's a placeholder, not a tag pair.
Paul Filkin | RWS Group
________________________
Design your own training!
You've done the courses and still need to go a little further, or still not clear?
Tell us what you need in our Community Solutions Hub
I had just come to the same conclusion, or more correctly, tag pairs have restrictions, only placeholders allow the required flexibility.
tag pairs have restrictions,
Yes, they need to be proper tag pairs!
Paul Filkin | RWS Group
________________________
Design your own training!
You've done the courses and still need to go a little further, or still not clear?
Tell us what you need in our Community Solutions Hub
tag pairs have restrictions,
Yes, they need to be proper tag pairs!
Paul Filkin | RWS Group
________________________
Design your own training!
You've done the courses and still need to go a little further, or still not clear?
Tell us what you need in our Community Solutions Hub
This raises the question: what is a "proper tag pair"? I cannot find any definition.
Simple... and the same for pretty much any markup language:
<opening>maybe some stuff in here</closing>
Obviously not written ike that but hopefully you get the idea. Also a google search gives me this pretty quickly:
Any other interpretation of what a tag pair could be is probably arguing for the sake of it... in my opinion!
Paul Filkin | RWS Group
________________________
Design your own training!
You've done the courses and still need to go a little further, or still not clear?
Tell us what you need in our Community Solutions Hub