Bob La Quey wrote:
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?

No, but I see how you might have perceived that since I embedded the example in quotes. Is there a way that I could have presented it better?


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.

Thank you for thinking that deeply into it. Sometimes my question *does* go that deep and just doesn't get expressed well.

BTW, in your example, I think you transposed "]" and "[", if I'm looking at it right.


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

Reply via email to