mirror of
https://gitee.com/dromara/sa-token.git
synced 2024-12-02 03:47:50 +08:00
commit
559fba69b8
@ -252,7 +252,7 @@ public class SaFoxUtil {
|
||||
return patt.equals(str);
|
||||
}
|
||||
// 正则匹配
|
||||
return Pattern.matches(patt.replaceAll("\\*", ".*"), str);
|
||||
return Pattern.matches(patt.replace(".*", "\\..*"), str);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user