<?xml version="1.0" encoding="UTF-8"?>
<patterns type="Common Error">
  <pattern classes="Human;OCR;" name="Leading and trailing spaces" description="Remove spaces from the beginning and end of lines">
    <rule replacement="" repeat="False" regex="^ +" flags="DOTALL;MULTILINE;UNICODE;"/>
    <rule replacement="" repeat="False" regex=" +$" flags="DOTALL;MULTILINE;UNICODE;"/>
  </pattern>
  <pattern classes="Human;OCR;" name="Multiple consecutive spaces" description="Replace multiple consecutive spaces with only one">
    <rule replacement="\040" repeat="False" regex=" {2,}" flags="DOTALL;MULTILINE;UNICODE;"/>
  </pattern>
  <pattern classes="OCR;" name="Space between digits" description="Remove space between digits of a number">
    <rule replacement="\1\2" repeat="True" regex="(\b\d+) +(\d+\b)(?![-/])" flags="DOTALL;MULTILINE;UNICODE;"/>
  </pattern>
</patterns>