sanscript 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sanscript/version.rb +1 -1
- data/src/lib.rs +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59fade123e6369dd8e65f40aef416b1f3ceb6246
|
4
|
+
data.tar.gz: 4c010e1ca0999f576a8485d385e825fd3cd98a3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d2fc3ef1c990703a8f4c5a2e69f6eb535dca84600b375cd030cbc8e1bb30baa2447c7de4d0634afb3303389dd24b5e3a144bce9ac6f8b883768473d8b8d5cc9
|
7
|
+
data.tar.gz: 98a910e4a950ad13ae0501cb3eb9ca841a4f049a42ce46989e6f12ff7d2ad1105a5083b4ae4496878bd6f001b9f29fa1a7323833c42c7234cc23193a6edc82b5
|
data/lib/sanscript/version.rb
CHANGED
data/src/lib.rs
CHANGED
@@ -14,7 +14,7 @@ methods! {
|
|
14
14
|
fn detect(s: RString) -> AnyObject {
|
15
15
|
lazy_static! {
|
16
16
|
// # Match escaped control characters
|
17
|
-
static ref RE_ESCAPED_CONTROL_CHAR: Regex = Regex::new(r"\\(?:\{
|
17
|
+
static ref RE_ESCAPED_CONTROL_CHAR: Regex = Regex::new(r"\\(?:\{#|##|#\})").unwrap();
|
18
18
|
|
19
19
|
// # Match ##...## or {#...#} control blocks.
|
20
20
|
static ref RE_CONTROL_BLOCK: Regex = Regex::new(r"##.*?##|\{#.*?#\}").unwrap();
|