你好,我遇到了以下问题:
public class FirstStepsApplication extends Application {
private static final String ROOT_URI = "/";
@Override
public Restlet createInboundRoot() {
Router router = new Router(getContext());
Directory rootDir = new Directory(getContext(), "war:///d
下面是我正在努力排除某一模式的一行(“正常的2”):
#TR|1 Normal Rationale|2 Normal Yesterday I ate an apple.|2 Normal Today, I have some work.|2 Normal Tomorrow, I'm gonna eat Libanese food.
我尝试了以下表达式:
\|\d+ [^\t]+\tRationale([^\|2 Normal]+)
据我所知,序列(^区2 Normal+)应该写任何字符,但实际上它不返回任何东西。
预期结果:
我想把它作为输出:
昨天我吃了