Properly document regex options