String regex matching in Erlang

Posted by portoalet on Stack Overflow See other posts from Stack Overflow or by portoalet
Published on 2010-05-13T15:44:04Z Indexed on 2010/05/13 15:44 UTC
Read the original article Hit count: 385

Filed under:
|
|

How would I do regex matching in Erlang?

All I know is this: f("AAPL" ++ Inputstring) -> true.

The lines that I need to match "AAPL,07-May-2010 15:58,21.34,21.36,21.34,21.35,525064\n"

In Perl regex: ^AAPL,* (or something similar) In Erlang?

© Stack Overflow or respective owner

Related posts about erlang

Related posts about regex