Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のようなデータを含むファイルがあります。
[date,ip]:string{[0.892838,1.28820,8.828823]}
後で処理するために、データ 0.892838、1.28820、8.828823 を文字列に抽出したいと考えています。
パターンline = String ~= /\\[/を使用して が発生する位置を取得しました"["が、上記の入力に対して、次のエラー メッセージが表示されます。
line = String ~= /\\[/
"["
premature end of char-class /\\[/