func unrangeCharClass() {
	regexp.MustCompile(`[xa-a]`)
	regexp.MustCompile(`[xa-b]`)
	regexp.MustCompile(`[xa-c]`)
	regexp.MustCompile(`[x1-1]`)
	regexp.MustCompile(`[x1-2]`)
	regexp.MustCompile(`[x1-3]`)
	regexp.MustCompile(`[1-3a-c]`)
}
[a-a] -> [a]
[a-b] -> [ab]
[a-c] -> [abc]
package checker_test
import (
	"regexp"
)
func multiPass() {
	regexp.MustCompile(`[a-a]`)
	regexp.MustCompile(`(?:a|b|c)`)
}
func altCommonPrefixSuffix() {
	regexp.MustCompile(`foo|fo`)
	regexp.MustCompile(`(?:http|https): 
	regexp.MustCompile(`xpath|path`)
	regexp.MustCompile(`❤path|path`)
	regexp.MustCompile(`fo|fo❤`)
}
func merge() {
	regexp.MustCompile(`x[abcd][abcd]*y`)
	regexp.MustCompile(`axx*y`)
}
func ungroup() {
	regexp.MustCompile(`(?:x)+`)
	regexp.MustCompile(`(?:[abc])+`)
}
func repeat() {
	regexp.MustCompile(`  `)
	regexp.MustCompile(`   `)
	regexp.MustCompile(`    `)
	regexp.MustCompile(`[a-z][a-z]`)
	regexp.MustCompile(`[abc][abc][abc]`)
	regexp.MustCompile(`(?:foo|bar)(?:foo|bar)`)
	regexp.MustCompile(`aaaaax`)
	regexp.MustCompile(`\d\d\d`)
	regexp.MustCompile(`\.\.\.`)
	regexp.MustCompile(`\.\.\.\.`)
	regexp.MustCompile(`....`)
	regexp.MustCompile(`.....x`)
}
func replaceCharClass() {
	regexp.MustCompile(`foo[0-9]+`)
	regexp.MustCompile(`[0-9]`)
	regexp.MustCompile(`[[:word:]]`)
	regexp.MustCompile(`[[:^word:]]`)
	regexp.MustCompile(`[[:digit:]]`)
	regexp.MustCompile(`[[:^digit:]]`)
	regexp.MustCompile(`[[:space:]]`)
	regexp.MustCompile(`[[:^space:]]`)
	regexp.MustCompile(`[^\D]`)
	regexp.MustCompile(`[^[:^word:]]`)
}
func unwrapCharClass() {
	regexp.MustCompile(`[x]`)
	regexp.MustCompile(`[\d]`)
	regexp.MustCompile(`[]]`)
	regexp.MustCompile(`[][]`)
}
func unescape() {
	regexp.MustCompile(`\#`)
	regexp.MustCompile(`\&`)
	regexp.MustCompile(`\!`)
	regexp.MustCompile(`\@`)
	regexp.MustCompile(`\%`)
	regexp.MustCompile(`\>`)
	regexp.MustCompile(`\<`)
	regexp.MustCompile(`\:`)
	regexp.MustCompile(`\;`)
	regexp.MustCompile(`\/`)
	regexp.MustCompile(`\,`)
	regexp.MustCompile(`\=`)
	regexp.MustCompile(`[x\#]`)
	regexp.MustCompile(`[x\.]`)
}
func charAlt() {
	regexp.MustCompile(`(a|b|c|d)`)
	regexp.MustCompile(`a|b`)
}