class_name Ids
extends RefCounted
## Shared id validation. Every canon-log / content id matches ^[a-z0-9_]+$.

static var _re: RegEx = RegEx.create_from_string("^[a-z0-9_]+$")


static func is_valid(id: String) -> bool:
	return _re.search(id) != null
