How to open the single line mode using re2?

33 views
Skip to first unread message

Jerry Chen

unread,
Apr 1, 2013, 10:09:18 PM4/1/13
to re2...@googlegroups.com
in following page shows the re2 library support single line mode

but I always test failed, I use following code to open the single mode
RE2:Options option;

option.set_posix_syntax(true);
option.set_one_line(true);

I also test mutli-line mode, and it works.

So, can anyone teach me how to using single line mode using RE2, Thanks~!

Br


Jerry Chen

unread,
Apr 19, 2013, 5:07:59 AM4/19/13
to re2...@googlegroups.com
no one use this feature?

在 2013年4月2日星期二UTC+8上午10时09分18秒,Jerry Chen写道:
Reply all
Reply to author
Forward
0 new messages