#perl - Wed 28 Mar 2007 between 12:05 and 12:09



gnubeHey!
f00li5hGuschtel: but that's totally bugus and wrong
maukeavar: my default cursor is a blinking underbar. emacs makes it a huge blinking block for no good reason
avarmauke: what terminal is this?
you can select text in the minibuffer
Guschtelf00li5h, it works :)
f00li5hGuschtel: in one from three cases ...
maukeavar: with the mouse?
f00li5hwhat does /e do in PCRE
maukeavar: this is the GUI version, btw
gnubedelta if ($my_variable) { print "exists\n" } else { print "doesn't\n" }
avarmauke: I don't know, I don't use a mouse
you can select it with emacs selecting facilities
[delta]hmmm... I did try that before: Global symbol "$CF_TARGET_DELAY" requires explicit package name at framework.pl line 11.
f00li5hGuschtel: perl's regexes have /e, you can just copy paste that regex...
Guschtelf00li5h, the e there makes php evaluate the second expression
actionLeoNerd suggests #editorwars ?
LeoNerdsuggests #editorwars ?
avarC-@
gnube[delta], Make sure you assign my $my_variable first.
maukeavar: too complicated
f00li5hGuschtel: this page is not very helpful, oweing to the fact i don't speak german ...
Guschtelf00li5h, ok, i'll have a look at this
f00li5h, :)
[delta]gnube, that is the problem. I want to check if it exists...
actionCPAN rating: Getopt-Lucid rated 5 stars by Drobcsak Teodor
CPANrating: Getopt-Lucid rated 5 stars by Drobcsak Teodor
f00li5hGuschtel: what's in $s?
avarf00li5h: PCRE or re::engine::PCRE ?:)
f00li5havar: PCRE
Guschtelf00li5h, some string
f00li5hi see
maukeavar: cursor docs don't help; this is hardcoded
f00li5hGuschtel: what are you trying to do,exactly?
Guschtelf00li5h, for example if you want to highlight a term, you can put the term in $s
gnube[delta], use strict requires that all variable names are declared before hand, they do not have to have a value though.
avarmauke: mm, by your terminal
f00li5hGuschtel: i choose to hilight <a
Guschtelf00li5h, i want to replace \n by <br>\n but not inside html texts
avarall variables have a value:)
f00li5hGuschtel: you mean not inside HTML tags?
Guschtelf00li5h, you would only choose plain strings

Page: 3 10 17 24 31 38 45 52 59 66 73 80 87 94 101 108 115 122 

IrcArchive