Stricter regex; improved secondary example