|
|
@ -149,7 +149,7 @@ class HackUserLastestCodesController < ApplicationController
|
|
|
|
|
|
|
|
|
|
|
|
# 正则错误行数
|
|
|
|
# 正则错误行数
|
|
|
|
def regular_match_error_line content, language
|
|
|
|
def regular_match_error_line content, language
|
|
|
|
content = Base64.decode64(content).force_encoding("utf-8")
|
|
|
|
content = Base64.decode64(content) #.force_encoding("utf-8")
|
|
|
|
logger.info("######content: #{content}")
|
|
|
|
logger.info("######content: #{content}")
|
|
|
|
case language
|
|
|
|
case language
|
|
|
|
when 'Java'
|
|
|
|
when 'Java'
|
|
|
|