Add explicit license info to core:text/regex

This commit is contained in:
Feoramund
2024-08-04 19:18:16 -04:00
parent e17fc8272b
commit 14858309f0
11 changed files with 88 additions and 0 deletions
+8
View File
@@ -1,6 +1,14 @@
// This package helps break dependency cycles.
package regex_common
/*
(c) Copyright 2024 Feoramund <rune@swevencraft.org>.
Made available under Odin's BSD-3 license.
List of contributors:
Feoramund: Initial implementation.
*/
// VM limitations
MAX_CAPTURE_GROUPS :: max(#config(ODIN_REGEX_MAX_CAPTURE_GROUPS, 10), 10)
MAX_PROGRAM_SIZE :: int(max(i16))
+8
View File
@@ -1,5 +1,13 @@
package regex_common
/*
(c) Copyright 2024 Feoramund <rune@swevencraft.org>.
Made available under Odin's BSD-3 license.
List of contributors:
Feoramund: Initial implementation.
*/
@require import "core:os"
import "core:io"
import "core:strings"