ApSIC Xbench Forum

How can I detect redundant leading/trailing space?


#1

Hello.
I found that these spaces cannot be detected in current Xbench, but this is something that we commonly encounter but hard to find with the naked eyes. Is there any way we can verify this in Xbench?

Thank you.


#2

Hi Sally,

There is a search template for it in Xbench:

Simply replace ^[[:space:]] by [[:space:]]$ to search for trailing space.

Best,
Doreen


#3

Historically, Xbench has not loaded leading and trailing spaces.

From Xbench 3.0 build 1434, leading and trailing spaces are loaded. A new feature, Leading/Trailing Mismatch, has been added to detect those segments where source and target leading and trailing spaces do not match.

You can download the most recent build from https://www.xbench.net/index.php/download.

27