Wednesday, October 9, 2019

Re: regexp : windows filename recognition

Anything chars contained in windows'filename before a lot of spaces and begining on third char after start of line.

Anything chars of filename= \w\s-_. many times

^..filename                                    some others chars.*$

Thank you

Le mercredi 9 octobre 2019 14:09:25 UTC+2, aro...@vex.net a écrit :
> Here is a kind of filename in fat chars that I would like to recognize:
>
>  * $FOOBBBAR_Foooofbar_f_oobar_(2019-07-29) - Copie.zed.lnk*
>                                   232.0 KiB     2019

There's a practically infinite universe of expressions that could be made
to match it. What's distinctive about it?

It might help if you could provide an example of something that you don't
want to match, and point out what discriminates the match vs non-match.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/01252a18-de2d-4392-9391-e20376274aa8%40googlegroups.com.

No comments:

Post a Comment