Title |
Test
Find
lager missing ~n
|
Expression |
^.*lager(?:(?!~n").)*$ |
Description |
This is a regex I made to ifnd all the lines of erlang code that use lager to log information, and that might be missing the line return at the end. |
Matches |
lager:info("bla bla ~p",[BlaBla]), | lager:debug("error - eof reached"), | lager:error("We ignore the ~n in the middle of the string"), |
Non-Matches |
lager:info("bla bla ~p~n",[BlaBla]), | lager:debug("")~n", | lager:error("~n"), |
Author |
Rating:
Not yet rated.
Tarek Zeineddine
|
Source |
|
Your Rating |
|