On 26.05.21 15:49, arocker@Vex.Net wrote:
> That assumption is probably reasonable, but a semi-colon is a legal
> character in a Unix/Linux filename. (But should be reagarded as evidence
> of a psychopath loose in the department.) The only character not legal in
> a filename is "/".
...and the null byte, \x00.
The manual cleanup of the whitespaces is what I'm doing currently. But
it's a pain in the ass because the situation is more complex than
described, and the whitespaces are a bit tricky to catch with a regex.
Further I'm often dealing with dozens, if not hundreds of lines at a
time, making it difficult to see if the regex really matches what it should.
--
Andre Tann
--
--
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/b744ebba-a763-3c03-a22e-d5274c0fcd99%40alphasrv.net.
Wednesday, May 26, 2021
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment