regex: avoid warning when pointers are not long