Re: Fast UTF-8 strlen function




Beth wrote:

>
> On the other hand, Randy's HLA library and "pattern matching" macros
and
> all that great and exhaustive "text processing" stuff? Well, that
stuff
> might find it needs some "modification" to work because it does
sometimes
> look at strings as "characters" and not only "just bytes"...

Heck, I'm not even thinking about *that* stuff yet. There are
comparable routines in the HLA compiler's "compile-time language" that
I'm working on right now. And yes, most of it has to be rewritten
(though I'm really wimping out on the pattern matching stuff, there are
still a ton of string processing functions in the compile-time language
that need modification; plus tons of stuff that don't appear to be
string related, but still deal with strings).

Cheers,
Randy Hyde
P.S., How does one enter "UTF-8" (non-ANSI) characters in a program
like notepad without a special keyboard (or simply resorting to cut and
paste)?

Also, when I save a file with notepad in UTF-8 format, it seems to
stick some characters at the beginning of the file that trip up the
compiler (BOM?)
What's the deal there?

.



Relevant Pages

  • AW: Pattern Matching
    ... Von: news Im Auftrag von prabu ... Betreff: Pattern Matching ... is also one of the character present in the string. ...
    (perl.beginners)
  • Re: Pattern Match Question
    ... I have a question regarding pattern matching. ... ‘chris’ is the only word in String s then the pattern checks out okay. ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (comp.lang.java.programmer)
  • Re: why is pattern matching using | slower than 2 separate ones?
    ... >I constructed a very simply step to compare two ways to do pattern matching ... the difference in test runs get even bigger. ... version caused the Regex engine to do lots of switching at each position in ... the string to swap between looking for one then the other. ...
    (comp.lang.perl.misc)
  • Re: finding needle in a haystack
    ... I know how to do this in REXX because there is a word ... The perldoc gives this example: ... A pattern matching the null string (not to be confused with a ... terns matching a null string) will split the value of EXPR into ...
    (perl.beginners)