Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] a japanese dictionary: regex v. db query



Joe Larabell wrote:
> But 'man re_syntax' reveals extensions such as:
>
>   [:digit:]   which matches any digit, or
>   [:punct:]   which matches any punctuation character
>
> Why not extend that syntax to include things like:
>
>   [:stroke=16:]
>
> to match any character with 16 strokes. Or even:
>
>   [:rad=<code>:]
>   
You probably also want to include things like skip codes, grade,
four-corner code,reading and any combination of the above. e.g.

 [:k(s:1,2;g:1-3;f:2000):]

a kanji with skip code 2-1-* and grade between 1-3 with a frequency less
then 2000.

Edward


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links