regex:[\p{IsCyrillic}]
regex:^[A-Za-z.!@?#"$%&:;() *\+,\/;\-=[\\\]\^_{|}<>\u0400-\u04FF]*$
regex:[\u0401\u0451\u0410-\u044f]
Regular expressions do not work (SEPARATE FOLDER NAME)
Regular expressions do not work (SEPARATE FOLDER NAME)
Last edited by Debugger on Sat Jan 12, 2019 7:37 pm, edited 1 time in total.
Re: Regular expressions do not work
Some suggestions:
regex:[\p{Cyrillic}]
Remember to escape spaces and | with double quotes, use a #quot: for a literal quote:
regex:"^[A-Za-z.!@?#$%&:;() *\+,\/;\-=[\\\]\^_{|}<>\x{0400}-\x{04FF}#quot:]*$"
Everything uses PCRE in non-Javascript mode, you will need to use \x{xxxx} in place of \uxxxx
regex:[\x{0401}\x{0451}\x{0410}-\x{044f}]
https://www.pcre.org/original/doc/html/pcrepattern.html
regex:[\p{Cyrillic}]
Remember to escape spaces and | with double quotes, use a #quot: for a literal quote:
regex:"^[A-Za-z.!@?#$%&:;() *\+,\/;\-=[\\\]\^_{|}<>\x{0400}-\x{04FF}#quot:]*$"
Everything uses PCRE in non-Javascript mode, you will need to use \x{xxxx} in place of \uxxxx
regex:[\x{0401}\x{0451}\x{0410}-\x{044f}]
https://www.pcre.org/original/doc/html/pcrepattern.html
Re: Regular expressions do not work
Would be nice to have this information in Everything Help, maybe under "advanced Regex"
Re: Regular expressions do not work
Added to my TODO list, thanks for the suggestion.
I've added support for \uxxxx for the next version of Everything.
I've added support for \uxxxx for the next version of Everything.
Re: Regular expressions do not work
And what is a regular expression that partially excludes the matching of folder names? I was looking for information on the internet, but to no avail. Instead of excluding names, they find what I wanted to exclude. So it works contrary to the intended one.
Re: Regular expressions do not work
Lookahead negative assertions.
regex:"^(?!.*folder name)"
Replace folder name with the partial folder name you wish to exclude.
To limit the results to just folders, include the following in your search:
folder:
You can also use ! in Everything as the NOT operator, for example:
folder: !"folder name"
where folder name is your partial search.
If you wish to exclude paths, by just specifying the start of the path, please try searching for:
regex:"^(?!C:\\program files)"
where C:\\program files is the path you wish to exclude, this would exclude C:\program files and C:\Program files (x86)
regex:"^(?!.*folder name)"
Replace folder name with the partial folder name you wish to exclude.
To limit the results to just folders, include the following in your search:
folder:
You can also use ! in Everything as the NOT operator, for example:
folder: !"folder name"
where folder name is your partial search.
If you wish to exclude paths, by just specifying the start of the path, please try searching for:
regex:"^(?!C:\\program files)"
where C:\\program files is the path you wish to exclude, this would exclude C:\program files and C:\Program files (x86)
Re: Regular expressions do not work
regex:"[E-Z]:\\VK\s(?!.*Listy|Penpals|Postcrossing"
How to separate the PARTIAL matches of different folder names, because it does not work
How to separate the PARTIAL matches of different folder names, because it does not work
Re: Regular expressions do not work
Thanks, I missed an important detail
Still problem partial match not work ALL => ALL!!