Regex comments not working

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Muroph
Posts: 561
Joined: 21 Aug 2007 16:13

Post by Muroph »

admin wrote:
Muroph wrote:Is there a way to collapse everything except the current location?
Because sometimes the tree gets really big and difficult to work with.
Yes, it's called "Rebuild Tree" (Ctrl+Shift+F4).
That's it , thanks.
I'll have to read the wiki page about KS again, to see what else I missed.
admin wrote:
Muroph wrote:And maybe add something like a 'favorite expressions' list, where you could have some patterns separated from the history of expressions.
This way it'd be easier to use common patterns, not having to search in the mess the history can be if you dont clean it often.
Yes, I heard this wish before. I see the point, but after all XY is not a file renamer. Other things are more important and will be done first...
This is not really top priority, just an idea.
We (I) can live without it.
admin wrote:
Muroph wrote:(?#ren 1st num)\D*(\d+).*(\.[0-9A-z]*$)>filename_$1$2

This should rename the file using the 1st sequence of numbers and the extension.
But it gives a syntax error message.
All regex with comments do.
The only way I found to avoid the error is to remove the comments.
The next BETA version will remove the comments for you.
Great! Thx!

Post Reply