On Fri, Jun 26, 2009 at 6:57 AM, roger pepperogpe...@gmail.com wrote:
you need (.|\n) instead of .
sam originally used @ as a match everything character
but it was removed, presumably because it was rarely used.
That's a stupid reason to remove a good feature. By that token, maybe
we should
On Sat, Jun 27, 2009 at 11:17 AM, J.R. Maurojrm8...@gmail.com wrote:
On Fri, Jun 26, 2009 at 6:57 AM, roger pepperogpe...@gmail.com wrote:
you need (.|\n) instead of .
sam originally used @ as a match everything character
but it was removed, presumably because it was rarely used.
That's a
Hi,
I am trying to select all c comments from within a file using acme,
but I am unable to do it properly. The command x/\/\*.*\*\// is the
closest I could get, but it doesn't work with comments that span over
more than one line. This raises a question for me: somewhere, I cannot
recall where, I
2009/6/26 hugo rivera uai...@gmail.com:
Hi,
I am trying to select all c comments from within a file using acme,
but I am unable to do it properly. The command x/\/\*.*\*\// is the
closest I could get, but it doesn't work with comments that span over
more than one line. This raises a question
you need (.|\n) instead of .
sam originally used @ as a match everything character
but it was removed, presumably because it was rarely used.
to match C comments, you need something like this:
x/\/\*([^*]|\*[^\/]|[^*\/]|\n)*\*\//
2009/6/26 hugo rivera uai...@gmail.com:
Hi,
I am trying to
I tested the command you suggested (,x/\/\*/.,/\*\//) and it works as
I wanted, thanks. But there's something I still don't understand and
is the meaning of that comma in there. As far as I know, the comma is
a mark that delimits the addresses that acme understands, but I do
not know how a comma
2009/6/26 hugo rivera uai...@gmail.com:
I tested the command you suggested (,x/\/\*/.,/\*\//) and it works as
I wanted, thanks. But there's something I still don't understand and
is the meaning of that comma in there. As far as I know, the comma is
a mark that delimits the addresses that acme
Yes, you are right. Now I understand it, I missed the / after \*, so I
was thinking that the comma was inside the regexp.
Thanks a lot :-)
2009/6/26 Rudolf Sykora rudolf.syk...@gmail.com:
2009/6/26 hugo rivera uai...@gmail.com:
I tested the command you suggested (,x/\/\*/.,/\*\//) and it works