We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dbfe10 commit 8b84d16Copy full SHA for 8b84d16
src/main.rs
@@ -511,8 +511,8 @@ impl Executor {
511
512
// 正規表現で検索
513
"regex" => {
514
- let pt = self.pop_stack().get_string();
515
- let patern: Regex = match Regex::new(pt.as_str()) {
+ let patern = self.pop_stack().get_string();
+ let patern: Regex = match Regex::new(patern.as_str()) {
516
Ok(i) => i,
517
Err(_) => {
518
self.log_print("エラー! 正規表現が不正です\n".to_string());
0 commit comments