프로그래밍을 하다 표현식을 이용해서 한글을 검출하려고 할 때.
IsBasicLatin
[가-힣] 구문을 많이 사용하였을 것이다.
이것보다 깔끔하게 사용 할 수 있는 것이
\p{IsHangulSyllables}
구문이다.
\p 는 유니코드 블록이나 범주로 검색하려 할 때 사용한다. 사용 할 수 있는 구문은 아래와 같다.
한글 관련된 구문은 "hangul"로 문자 검색해 보시라.
*. .Net FX 이외의 환경에서는 테스트 하지 않았다.
**. 대부분의 편집기에서는 동작하지 않는다. (테스트 해 본 바로는 전부. 심지어 VS devenv에서도 동작하지 않았다.)
IsLatin-1Supplement
IsLatinExtended-A
IsLatinExtended-B
IsIPAExtensions
IsSpacingModifierLetters
IsCombiningDiacriticalMarks
IsGreek 또는 IsGreekandCoptic
IsCyrillic
IsCyrillicSupplement
IsArmenian
IsHebrew
IsArabic
IsSyriac
IsThaana
IsDevanagari
IsBengali
IsGurmukhi
IsGujarati
IsOriya
IsTamil
IsTelugu
IsKannada
IsMalayalam
IsSinhala
IsThai
IsLao
IsTibetan
IsMyanmar
IsGeorgian
IsHangulJamo
IsEthiopic
IsCherokee
IsUnifiedCanadianAboriginalSyllabics
IsOgham
IsRunic
IsTagalog
IsHanunoo
IsBuhid
IsTagbanwa
IsKhmer
IsMongolian
IsLimbu
IsTaiLe
IsKhmerSymbols
IsPhoneticExtensions
IsLatinExtendedAdditional
IsGreekExtended
IsGeneralPunctuation
IsSuperscriptsandSubscripts
IsCurrencySymbols
IsCombiningDiacriticalMarksforSymbols 또는 IsCombiningMarksforSymbols
IsLetterlikeSymbols
IsNumberForms
IsArrows
IsMathematicalOperators
IsMiscellaneousTechnical
IsControlPictures
IsOpticalCharacterRecognition
IsEnclosedAlphanumerics
IsBoxDrawing
IsBlockElements
IsGeometricShapes
IsMiscellaneousSymbols
IsDingbats
IsMiscellaneousMathematicalSymbols-A
IsSupplementalArrows-A
IsBraillePatterns
IsSupplementalArrows-B
IsMiscellaneousMathematicalSymbols-B
IsSupplementalMathematicalOperators
IsMiscellaneousSymbolsandArrows
IsCJKRadicalsSupplement
IsKangxiRadicals
IsIdeographicDescriptionCharacters
IsCJKSymbolsandPunctuation
IsHiragana
IsKatakana
IsBopomofo
IsHangulCompatibilityJamo
IsKanbun
IsBopomofoExtended
IsKatakanaPhoneticExtensions
IsEnclosedCJKLettersandMonths
IsCJKCompatibility
IsCJKUnifiedIdeographsExtensionA
IsYijingHexagramSymbols
IsCJKUnifiedIdeographs
IsYiSyllables
IsYiRadicals
IsHangulSyllables
IsHighSurrogates
IsHighPrivateUseSurrogates
IsLowSurrogates
IsPrivateUse 또는 IsPrivateUseArea
IsCJKCompatibilityIdeographs
IsAlphabeticPresentationForms
IsArabicPresentationForms-A
IsVariationSelectors
IsCombiningHalfMarks
IsCJKCompatibilityForms
IsSmallFormVariants
IsArabicPresentationForms-B
IsHalfwidthandFullwidthForms
IsSpecials




최근 덧글