0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【DS】パターン置き換え注意点

Posted at

まず、パターン置き換えのテスト入力値に値を入れることで
テストができる

1.png ・設定パターンの置き換えが(.*)/(.*)/(.*)で、1/20という形で入ってきてもエラーにはならない 2.png ?で区切られている :はorみたいな感じ なので、 $1 < 10だったら "0" + $1 + "/" + $2 じゃなければ $1 + "/" + $2 をしてね、という指示

だから
$0 < 10 ? >>少ない<< : >>多い<<
これだと
多いってでる

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?