Hi.

I've been trying to match C-style comment in ruby regex.

my wrong approach is as follows.

      case str
      when /\/\*[^(\*\/)]*\*\//
        str = $` + $'
        puts "eliminating C-style comment"
        ...

How can i match C-style /* ... */ comment?
POSIX collate does not seems to work in Ruby.

Thanks in advance, Bye.
--
Yang, Chul-Woong
cwyang / aratech.co.kr