logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Interesting little regex: msg#00015

Subject: Re: Interesting little regex
On Fri, Feb 24, 2006 at 03:20:27PM -0700, Alan Young wrote:
> > I'm afraid I'm not getting what you mean by "unique occurrence"...  Why is
> > there only one unique occurrence of 'abc', when the string contains 'abc'
> > four times?  Why are there two unique occurrences of 'de', but only one of
> > 'bc'?  Why are there no unique occurences at all of 'abcd'?
> 
> I'm probably not stating myself well (I'm known for that).  Maybe
> unique occurrence isn't what I'm really trying to say.
> 
> If we have a stream of text (say we have a file that is several 10s of
> million bytes in size) and we're limited to how much we can load into
> memory at a time, or we're recieving it over a connection of some kind
> (e.g., serial or tcp) and we have a varying number of delimiters, with
> a varying delimiter length (delimiter1, delim2, del3).  The value of
> the delimiter is the delimiter and an unspecified number of bytes, up
> to the next known delimiter. (value of delimiter 'del2' in the string
> 'del1abcdel2def' is 'del2def'.
> 
> I don't understand exactly why this format was decided upon, this was
> the poser handed to my co-worker and this is what he came up with as a
> proof of concept.  Of course, this requires that  no delimiter can be
> a substring of another.
> 
> Better?

It's making more sense now.  Thank you for taking the time to explain it to
me!

Ronald



Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe