[erlang-questions] 回复: How to use the regex in erlang?

饕餮 249505968@REDACTED
Tue Mar 26 09:55:00 CET 2013


Thanks for your help!
要是erlangdoc有中文版就好了0 0




------------------ 原始邮件 ------------------
发件人: "苏晔俊"<goofan.su@REDACTED>;
发送时间: 2013年3月26日(星期二) 下午2:27
收件人: "饕餮"<249505968@REDACTED>; 

主题: Re: [erlang-questions] How to use the regex in erlang?



Take a look at re:run/3 more carefully.

There are options like "{capture, ValueSpec} | {capture, ValueSpec, Type}" to help you fetch word with "Type" as list.
 


2013/3/22 饕餮 <249505968@REDACTED>
 I have see the re model doc.
But still not know how to use regex to take words from a string...
How to get the "word" from the string "It's 1 word" with re?

_______________________________________________
 erlang-questions mailing list
 erlang-questions@REDACTED
 http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130326/4d73b113/attachment.htm>


More information about the erlang-questions mailing list