|
Lines 390-407
Link Here
|
| 390 |
break; |
390 |
break; |
| 391 |
case 'f': /* file name pattern */ |
391 |
case 'f': /* file name pattern */ |
| 392 |
p = extract_arg (p, arg); |
392 |
p = extract_arg (p, arg); |
| 393 |
*condition = panel && regexp_match (arg, panel->dir.list [panel->selected].fname, match_file); |
393 |
*condition = panel && regexp_match (arg, panel->dir.list [panel->selected].fname, match_file, 0); |
| 394 |
break; |
394 |
break; |
| 395 |
case 'y': /* syntax pattern */ |
395 |
case 'y': /* syntax pattern */ |
| 396 |
if (edit_widget && edit_widget->syntax_type) { |
396 |
if (edit_widget && edit_widget->syntax_type) { |
| 397 |
p = extract_arg (p, arg); |
397 |
p = extract_arg (p, arg); |
| 398 |
*condition = panel && |
398 |
*condition = panel && |
| 399 |
regexp_match (arg, edit_widget->syntax_type, match_normal); |
399 |
regexp_match (arg, edit_widget->syntax_type, match_normal, 0); |
| 400 |
} |
400 |
} |
| 401 |
break; |
401 |
break; |
| 402 |
case 'd': |
402 |
case 'd': |
| 403 |
p = extract_arg (p, arg); |
403 |
p = extract_arg (p, arg); |
| 404 |
*condition = panel && regexp_match (arg, panel->cwd, match_file); |
404 |
*condition = panel && regexp_match (arg, panel->cwd, match_file, 0); |
| 405 |
break; |
405 |
break; |
| 406 |
case 't': |
406 |
case 't': |
| 407 |
p = extract_arg (p, arg); |
407 |
p = extract_arg (p, arg); |