File: common.rules

package info (click to toggle)
acheck-rules 0.3.7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 132 kB
  • sloc: makefile: 16
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