filter --smart doesn't work with .* regex pattern
Author: ebuguseyCreated Sep 23, 2026Updated Sep 25, 2026
Labelsbug
What system are you running Yazi on?
Windows
What terminal are you running Yazi in?
windows terminal 1.24.11911.0
ya env output
Yazi
Version: 26.9.1 (0ea4c5d 2026-09-21)
Debug : false
Triple : x86_64-pc-windows-msvc (windows-x86_64)
Rustc : 1.98.1 (48a229ce 2026-09-01)
Backtrace: None
Ya
Version: 26.9.1 (0ea4c5d 2026-09-21)
Debug : false
Triple : x86_64-pc-windows-msvc (windows-x86_64)
Rustc : 1.98.1 (48a229ce 2026-09-01)
Config
Init : C:\Users\\\user\AppData\Roaming\yazi\config\init.lua (1879 chars)
Yazi : C:\Users\\\user\AppData\Roaming\yazi\config\yazi.toml (1505 chars)
Keymap : C:\Users\\\user\AppData\Roaming\yazi\config\keymap.toml (3788 chars)
Theme : C:\Users\\\user\AppData\Roaming\yazi\config\theme.toml (The system cannot find the file specified. (os error 2))
VFS : C:\Users\\\user\AppData\Roaming\yazi\config\vfs.toml (134 chars)
Package : C:\Users\\\user\AppData\Roaming\yazi\config\package.toml (1804 chars)
Dark/light flavor: ArcSwapAny("") / ArcSwapAny("")
Emulator
TERM : Some("xterm-256color")
TERM_PROGRAM : None
TERM_PROGRAM_VERSION: None
Brand.from_env : Some(Microsoft)
Emulator.probe : Emulator { brand: Microsoft, version: ArcSwapAny(""), csi_u: None, kgp: false, kgp_shm: false, sixel: true, background: Some([5140, 5140, 5140]), color_scheme: None, csi_16t: (10, 20), force_16t: true, osc_5522: false, cursor_blink: true, cursor_shape: Some(5), mux: None, probe: Probe { id: Id(0), completed: false }, started: false }
Adapter
Drivers.matches: Sixel
TERM.dimension : Dimension { cols: 159, rows: 40, width: 0, height: 0 }
Desktop
XDG_SESSION_TYPE : None
WAYLAND_DISPLAY : None
DISPLAY : Some("needs-to-be-defined")
NIRI_SOCKET : None
SWAYSOCK : None
HYPRLAND_INSTANCE_SIGNATURE: None
WAYFIRE_SOCKET : None
SSH
shared.in_ssh_connection: false
WSL
WSL: false
Variables
SHELL : Some("C:\\Users\\\\user\\scoop\\apps\\git\\2.55.0.5\\\\usr\\bin\\bash.exe")
EDITOR : Some("kak")
VISUAL : None
YAZI_FILE_ONE : None
YAZI_CONFIG_HOME : None
YAZI_ZOXIDE_OPTS : None
SSH_AUTH_SOCK : Some("\\\\.\\pipe\\openssh-ssh-agent")
FZF_DEFAULT_OPTS : None
FZF_DEFAULT_COMMAND: None
Text Opener
default : Some(OpenerRuleArc(OpenerRule { id: Id(4), run: "code %s", block: false, orphan: true, desc: "code", for: Windows, spread: true }))
block-create: Some(OpenerRuleArc(OpenerRule { id: Id(5), run: "code -w %s", block: true, orphan: false, desc: "code (block)", for: Windows, spread: true }))
block-rename: Some(OpenerRuleArc(OpenerRule { id: Id(5), run: "code -w %s", block: true, orphan: false, desc: "code (block)", for: Windows, spread: true }))
Multiplexers
tmux version : program not found
tmux build flags : enable-sixel=Unknown
ZELLIJ_SESSION_NAME: None
Zellij version : program not found
Dependencies
file : 5.48
ueberzugpp : program not found
ffmpeg/ffprobe: 9.0.1 / 9.0.1
pdftoppm : 26.09.0
magick : program not found
fzf : 0.74.4
fd/fdfind : 10.5.0 / program not found
rg : 15.2.0
chafa : program not found
zoxide : program not found
7zz/7z : program not found / 26.03
resvg : program not found
jq : 1.8.2
Clipboard
wl-copy/paste: program not found / program not found
xclip : program not found
xsel : program not found
Routine
`file -bL --mime-type`: text/plainDescribe the bug
When using filter --smart with patterns that contain . (dot) filtered output doesn't contain expected files/directories when files have uppercase letters.
Minimal reproducer
- Organize directory with files containing uppercase letters, something like this:
./Test1
./Test2
./Test3- Execute
filter --smart. - Enter pattern
te.*
When you enter te files will still be visible, but when you enter . (dot) the output will be empty.
If you enter Te.* pattern instead, all files will be visible.
Anything else?
No response
Checklist
- I tried the latest nightly build, and the issue is still reproducible
- I updated the environment information (
ya env) field to the nightly that I tried - I can reproduce it after disabling all custom configs/plugins (
mv ~/.config/yazi ~/.config/yazi-backup)
Source: sxyazi/yazi