File: Zyyy.common-error.in

package info (click to toggle)
gaupol 0.19.2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,836 kB
  • sloc: python: 23,578; xml: 4,772; makefile: 85; sh: 39
file content (37 lines) | stat: -rw-r--r-- 934 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[Common Error Pattern]
_Name=Leading and trailing spaces
_Description=Remove spaces from the beginning and end of lines
Classes=Human;OCR;
Pattern=^ +
Flags=DOTALL;MULTILINE;UNICODE;
Replacement=
Repeat=False

[Common Error Pattern]
_Name=Leading and trailing spaces
_Description=Remove spaces from the beginning and end of lines
Classes=Human;OCR;
Pattern= +$
Flags=DOTALL;MULTILINE;UNICODE;
Replacement=
Repeat=False

[Common Error Pattern]
_Name=Multiple consecutive spaces
_Description=Replace multiple consecutive spaces with only one
Classes=Human;OCR;
Pattern= {2,}
Flags=DOTALL;MULTILINE;UNICODE;
Replacement=\040
Repeat=False

[Common Error Pattern]
_Name=Space between digits
_Description=Remove space between digits of a number
Classes=OCR;
# Do not allow a trailing slash which might be used
# to spell out a fraction, e.g. "2 1/2".
Pattern=(\b\d+) +(\d+)(?!/)
Flags=DOTALL;MULTILINE;UNICODE;
Replacement=\1\2
Repeat=True