On 1/31/07, James G. Sack (jim) <[EMAIL PROTECTED]> wrote:
Bob La Quey wrote:
> Hi Ralph,
>
> Does the string 9][A occur anywhere other than embedded in the
> string ^[0-9][A-Z]   ?
>
> If the answer is no then I do believe my  simpler
> %s/9\[\]A/9\[ \]A/g will work.
>
> Did you try it?

Bob, I think you had better get some sleep ;-) You misinterpreted the
question.

The '[0-9]' and '[A-Z]' are standard regex notations for character
classes, respectively any one of the 10 digits, and any one of the 26
cap-letters. I'm sure you know that, you're just not reading with both
eyes and all your brain (eh?).

Regards,
..jim

Yes I know that but he has those characters in a specific string
in a text file. He wants to put a space between the ][ if I understand
him correctly.

Is this correct, Ralph?

I am assuming he has a program that has those strings embedded in it
that he wants to tweak.

Is this correct?

Maybe that same program also has, for the reason you mention, those
strings appearing in different contexts. That was my question.

But you are right. It is time for me to get some sleep :)

Goodnight all,

Bob


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to