Match all characters enclosed in brackets

2013-08-09 Thread rameo
I have trouble finding the correct regex. I know that a sequence of characters enclosed in brackets means their optional: [xyz] means any 'x' OR 'y' OR 'z' but how can I find them all? any 'x' AND 'y' AND 'z' in whatever sequence and quantity p.e. Match first an uppercase character then

Re: Match all characters enclosed in brackets

2013-08-09 Thread Tim Chase
On 2013-08-09 00:46, rameo wrote: I have trouble finding the correct regex. I know that a sequence of characters enclosed in brackets means their optional: [xyz] means any 'x' OR 'y' OR 'z' but how can I find them all? any 'x' AND 'y' AND 'z' in whatever sequence and quantity

Re: How to autopipe through dos2unix when banging out

2013-08-09 Thread Paul
On Tuesday, August 6, 2013 11:02:12 AM UTC-4, Paul wrote: I use both the PC-based [g]vim and cygwin's [g]vim. There are many times when I need the behaviour of PC vim, but I also want to bang out to bash. With help from this forum and much trial and error, I found that the following is a

Re: Match all characters enclosed in brackets

2013-08-09 Thread Linda W
Tim Chase wrote: On 2013-08-09 00:46, rameo wrote: I have trouble finding the correct regex. I know that a sequence of characters enclosed in brackets means their optional: [xyz] means any 'x' OR 'y' OR 'z' but how can I find them all? any 'x' AND 'y' AND 'z' in whatever sequence and

Re: Match all characters enclosed in brackets

2013-08-09 Thread Tim Chase
Sorry, I missed the 2nd half of your email: On 2013-08-09 00:46, rameo wrote: I have trouble finding the correct regex. p.e. I'm not sure what p.e. is supposed to mean in this context. Match first an uppercase character then all lowercase characters with at least 1 uppercase character This

Re: compiling gvim statically

2013-08-09 Thread Linda W
kamaraju kusumanchi wrote: I am trying to compile a static version of gvim on a machine running a combination of Debian GNU/Linux Squeeze and Wheezy. (.text+0xe12): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc

vim: how to use back reference to compare strings?

2013-08-09 Thread ping song
hi guys: I run into a scenario that , I need to compare 2 part of the regex string in one line : abc123456 bla bla bla abc1234 so I'm thinking, can we use the backreference, to compare the first abc\d\+ with the second one and only print out a message in case we detect the different ones ?