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.
私はPatternJavaでクラスを使用するのが初めてで、パターンを作成するときにまたは関数を使用する方法の例を見つけることができないようです.
Pattern
パターンの区切り記号を使用する必要があるため、3 つの区切り記号は/、-、改行 になり\nます。そのようなパターンを作成するためにこれをどのように実装しますか:
/
-
\n
Pattern p = Pattern("/"|"/"|\n);