Re: [GnomeMeeting-devel-list] Do you like smileys?



Ummm, I think I should follow the ml closer...

Detecting urls with he old code is a bit of a problem, that is true.

El mié, 01-10-2003 a las 21:15, Damien Sandras escribió:
> Le mer 01/10/2003 à 19:33, Miguel Rodríguez a écrit :
> > The current code[1] just builds some trees to detect the smileys when it
> > is first initialised, based on a table of valid smileys and their
> > corresponding graphic representation. This table can be easily moved to
> > a file if desired.
> > The code can also be easily modified to force a blank or EOL or EOS at
> > the end of the smiley.
> > 
> > [1] ok, it's not the most beautiful code in the world and could get some
> > cleaning
> > 
> > /me wonders why somebody wants to rewrite the code. I just do not see
> > the need, the code works and the changes needed are minimal. (I also
> > believe it is fairly efficient).
> > /me wonders why nobody told asked him about a rewrite before.
> > 
> 
> We now have a code that parses URLs.
> 
> 
> > El mié, 01-10-2003 a las 19:19, Rodney Dawes escribió:
> > > Before makes more sense than after. ":):)" should be two smilies.
> > > However, "(18)" should not be a smiley. I'd also rather not try to
> > > shove the entire list of smilies into a single regex. It would be
> > > nice to abstract this away into some kind of configuration system,
> > > and a library interface, rather than having to change source and
> > > rebuild every time one wants to add a new smiley.
> > > 
> > > -- dobey
> > > 
> > > Il mer, 2003-10-01 alle 13:11, Kilian Krause ha scritto:
> > > > Hi,
> > > > 
> > > > i think it's best to prevent unwanted smileys by forcing a whitespace
> > > > before and after (if not <lf>).. 
> > > > 
> > > > objections?
> > > _______________________________________________
> > > Gnomemeeting-devel-list mailing list
> > > Gnomemeeting-devel-list gnome org
> > > http://mail.gnome.org/mailman/listinfo/gnomemeeting-devel-list
> > _______________________________________________
> > Gnomemeeting-devel-list mailing list
> > Gnomemeeting-devel-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gnomemeeting-devel-list



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