Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 226 Bytes

regex-recipies

File metadata and controls

11 lines (9 loc) · 226 Bytes

Match a markdown code block.

^(([ \t]*`{3,4})([^\n]*)([\s\S]+?)(^[ \t]*\2))

Match the include directive of the C/C++ pre-processor

^\s*\#include\s+(["<][^">]+[">])