pub fn patallocstr(s: &str) -> String
Allocate pattern string buffer (from pattern.c patallocstr) - no-op in Rust