aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/abstraction.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdp/abstraction.d')
-rw-r--r--src/sdp/abstraction.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdp/abstraction.d b/src/sdp/abstraction.d
index 77a5512..65bb5cd 100644
--- a/src/sdp/abstraction.d
+++ b/src/sdp/abstraction.d
@@ -100,7 +100,7 @@ template SiSUabstraction() {
}
auto language() {
string _k;
- if (auto m = match(fn_src, rgx.language_code_and_filename)) {
+ if (auto m = fn_src.match(rgx.language_code_and_filename)) {
_k = m.captures[1];
} else {
_k = "en";