함수 is uuid()

(Is uuid에서 넘어옴)
is_uuid

1 Java[ | ]

UUID uuid = UUID.fromString(uuidString);
Boolean is_uuid = uuidString.equals(uuid.toString());

2 PHP[ | ]

function is_uuid($uuid) {
	if(preg_match('/^\{?[A-Z0-9]{8}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{4}-[A-Z0-9]{12}\}?$/i', $uuid)) return true;
	return false;
}

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}