RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details 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
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials