Nope, you're forgetting that ls, which is used to retrieve information, mangles the file names a lot, so that "they look nice". That includes unicode characters, spaces, and a lot more. But your regex isn't ready to withstand even a single space in the name
the problem was in the application I was using to test the regex, it wasn't recognizing the command, I used another one and it worked lol 😂 Thank you very much