Clippings for regexen

This commit is contained in:
Ben S
2015-10-01 00:48:08 +01:00
parent 7fe432c069
commit 2c27300233
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
#INDENT#static ref #PLACEHOLDERSTART#...#PLACEHOLDEREND#: Regex = Regex::new(r##"(?x)
#PLACEHOLDERSTART#...#PLACEHOLDEREND#
"##).unwrap();

View File

@@ -0,0 +1,3 @@
#INDENT#static ref #PLACEHOLDERSTART#...#PLACEHOLDEREND#: Regex = Regex::new(r##"(?x) ^
#PLACEHOLDERSTART#...#PLACEHOLDEREND#
$ "##).unwrap();