Re: regex problem for comments line
- From: Ahmet Kilic <ahmedkilic@xxxxxxxxx>
- Date: Mon, 28 Sep 2009 03:11:52 -0500
Ehsanul Hoque wrote:
MasterList, // 名称マスター管理クラス
IniFileAccess, // iniファイル管理クラス
MessageAccess, // 共通メッセージ管理クラス
LogAccess, // ログ出力制御クラス
TelephoneCommand, // 電話制御用コマンドクラス
TelephoneDataClass, // 電話制御用データクラス
ExtCtrls, jpeg, StdCtrls;
type "
please help me abut this problem. I want to exclude or split the
comments.( japanese comment parts). I tried many combinations but still
problem.
How about this:
str.gsub!(/\/\/.*/, "")
not working,
also this is not working \/*\s*(\w+)$
--
Posted via http://www.ruby-forum.com/.
.
- Follow-Ups:
- Re: regex problem for comments line
- From: Rob Biedenharn
- Re: regex problem for comments line
- References:
- regex problem for comments line
- From: Ahmet Kilic
- regex problem for comments line
- Prev by Date: Re: how to understand
- Next by Date: Re: calling 'C' code from Ruby
- Previous by thread: regex problem for comments line
- Next by thread: Re: regex problem for comments line
- Index(es):
Relevant Pages
|