|
Navnath R. Kale wrote: it wasnt he is looking for
It should be.
|
|
|
|
|
Fayu wrote: I wish I can use the CLR but the requirements I have prevent me from using the CLR.
::Throws up hands::
|
|
|
|
|
Yea but I am not using the clr. The pattern he provided worked with all requirement, including not using CLR. I used his pattern using VBScript.RegexExp and it worked wonders.
Thanks for your help as well.
|
|
|
|
|
Mine works with perl:
perl -e "print \"[[[MyProperty1]]] Value [[[MyProperty2]]] value2 [[[MyProperty3]]] value 3\" =~ m/(?:\[\[\[(?'Name'.*?)\]\]\](?'Value'[^\[]*))/g"
%stuff = $ARGV[0] =~ m/(?:\[\[\[(?'Name'.*?)\]\]\](?'Value'[^\[]*))/g ;
foreach $id ( sort ( keys ( %stuff ) ) )
{
print ( "$id = $stuff{$id}\n" ) ;
}
modified on Saturday, April 10, 2010 12:33 AM
|
|
|
|
|
Well i guess, all this confusion is because question is in wrong section.
Perl supports Named capture groups but client scripts don't.
|
|
|
|
|
Navnath R. Kale wrote: Named capture groups
You don't need to name them. The important thing is to have the engine return all the matches and enumerate them.
|
|
|
|
|
!!! Now the thread becomes the session.
Actually (?'Name') and (?'Value') is equal to (?<Name>) and (?<Value>) and is nothing but Named capturing group.
.Net supports it both way.
|
|
|
|
|
Yes. I prefer the apostrophes -- at least I don't need to escape them when I post them.
|
|
|
|
|
Yeah On first post I was like " WTF happened to my pattern, it was correct when I typed"
|
|
|
|
|
can any one send me sample application on hottspot
saradhi
|
|
|
|
|
|
hahaha i liked the way u responded
|
|
|
|
|
No one here is going to send you a sample application of ANYTHING. Please read the forum guidelines.
|
|
|
|
|
koganti pardhasaradhi wrote: hottspot
It's a myth; it doesn't exist.
|
|
|
|
|
That's not true. Men will spend hours looking for the wi-fi hotspot. Oh wait, I see where you were going with this.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
it is the journey that matters
|
|
|
|
|
And the amount of effort given to the effort.
|
|
|
|
|
Poor guy who asked the question!!
|
|
|
|
|
Only people who get lost cherish the journey.
Trust me, the size of the boatvariable matters more, too.
|
|
|
|
|
|
can any one send me sample console application for downloading a file from ftp to local file system please
saradhi
|
|
|
|
|
Did you search the internet?
See here.
Me, I'm dishonest. And a dishonest man you can always trust to be dishonest. Honestly. It's the honest ones you want to watch out for...
|
|
|
|
|
|
Again, NO ONE is going to send you an entire application. Do your own work!
|
|
|
|
|
Hello,
I have a form on which i draw a rectangle with the help of the graphics.
During scrolling the rectangle is flickering.
My code is the following:
public Form1()
{
InitializeComponent();
AutoScrollMinSize = new Size(1000, 1000);
SetStyle(
ControlStyles.AllPaintingInWmPaint |
ControlStyles.UserPaint |
ControlStyles.OptimizedDoubleBuffer, true);
UpdateStyles();
}
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
e.Graphics.FillRectangle(Brushes.Red, new Rectangle(0, 0, 30, 30));
}
protected override void OnScroll(ScrollEventArgs se)
{
Invalidate();
base.OnScroll(se);
}
protected override void OnMouseWheel(MouseEventArgs e)
{
Invalidate();
base.OnMouseWheel(e);
}
What i don't understand is why the flickering appears when i move the scrollbar with the mouse, but on mouse wheel does't appear.
Why flickers the rectangle on scrolling?
What can i do to avoid flickering on scolling?
Thanks.
|
|
|
|
|
Try to add After this line
Noemi Katinka wrote: UpdateStyles();
this.DoubleBuffered = true;
|
|
|
|