File: common.rules

package info (click to toggle)
acheck-rules 0.3.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, squeeze, wheezy
  • size: 80 kB
  • ctags: 5
  • sloc: makefile: 48
file content (6 lines) | stat: -rw-r--r-- 151 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
rule					# double
	type	fix
	regex	\b(\w+)\s+\1\b		# word start, word, space, same word, word end
	hint	Double
	fix	$1			# remove matched word to fix