Thanks Curtis, My guess was that compiled1 and compiled2 would be of the same "class" dynamicly inherited of Regex, so CLR doesn't have to parse twice the expression et re-use the same byte code. Callixte.
Callixte
Posts
-
Regex class and RegexOptions.Compiled option -
Regex class and RegexOptions.Compiled optionI have a question about Regex class and wether it is clerver to put that RegexOptions.Compiled option. Msdn says:
To improve performance, the regular expression engine caches all regular expressions in memory. This avoids the need to reparse an expression into high-level byte code each time it is used.
Does it mean that the Regex object is cached as itself or that another Regex with same pattern and options will use the cached one and will not need to parse the pattern again? If it is the first case, it means that compiling is useful only when the same object is used several times. If it is the latter, the compiled class will be used every time the same pattern is used. Thx. Callixte. -
Binding between data and presentation layersHello all, I have a data object which I display in a webform using data binding. EG:
<asp:TextBox id=TextBox1 style="Z-INDEX: 101; LEFT: 351px; POSITION: absolute; TOP: 139px" runat="server" Text='<%# DataBinder.Eval(Test, "Chaine") %>'> </asp:TextBox>
Now, I want the data to be pushed back to the object if it gets modified in the form. In other words, when the form is first created, the actual values come from the object to the form. When the form is posted back, I want the values to be sent from the form to the object, so I can persist it with the modified values. Is there an automated way to achieve this? Thx. Callixte.[^] -
Where will it end? -
Righties??Lurking over discussions here, something struck my mind: A person who believes in an ideology which is politicaly on the left is called a lefty (BTW: is it pejorative in English?) Does the word "righty" exists? If not why?:confused: In French, "gauchiste" exists (and is a bit pejorative), "droitiste" does not. Callixte.[^]
-
Here comes Belgium -
Losercount> Populist demagogy? Kind of... In fact, I am not saying "élections, piège à cons !" I wanted to add: but you lose even more if you don't vote. In may 2002, a lot of people said "the people of France won" and "as he is elected with the votes of the left, he will have to conduct a central policy." It has been proved wrong since. The Chiraquie won, not the people of France, not the 82% that voted him in. Callixte.[^]
-
Losercount -
The effects of EU propaganda -
US and GWBWell, this sounds like the universal philosophical debate: is man good by nature and corrupted by power (or money or society in a general way) ? or greedy of power (and money) by nature ? I believe most people are nice when they feel treated nice or "equally". I believe most people only want to live their life peacefully. (But I won't try to convince anyone who desagrees.) Callixte.[^]
-
US and GWB -
The wheel on my mouse just quit working -
6 Gmail Invites - I have got 5 leftIn a desert or on a high mountain, somewhere away disconnected to cure my cyber addiction. I laready have one of the longest addresses[^], why not having a gmail address too. Please send it to gmailinvite at callixte dot org.
-
France invade the USA ... -
Olympic cameras -
90 years ago...> Revisionism would be to pretend that only europeans were imperialist. So true. Just look at the first Cuban Revolution circa 1895 and the role of the US at this time. Jose Marti[^] (Cuban leader who died in 1895) denounced US imperialism in Latin America in his speeches. Callixte.[^]
-
90 years ago...I don't know about the historical reality of this statement, but it surely has a mythical reality: he was the embodiement of socialist hope, he died ("Pourquoi ont ils tué Jaurès" as Jacques Brel sang) and the war broke out, it lasted four years and millions died. Note: by "socialist", I mean what was meant at this time and it has nothing to do with the Soviet Union. Callixte.[^]
-
hitler and the left - hatred or merely race for same votes?Tomaž Štih wrote: this sounds like goverment interventionism - a left or etatist policy. That was my point: the equation "government interventionism = left" does not mean anything at least in France. Interventionism was part of nearly every government policy from totalitarian kings (beginning with Hugues Capet circa 990 and a climax with Louis XIV) to revolutionary regime such as the Terror or socialist governments with François Mitterand under the Vth République, let alone Napoleon and the 1st Empire. Callixte.[^]
-
hitler and the left - hatred or merely race for same votes?I have read your contributions to this SoapBox and I have a question for you : would you consider French minister of Economy, Mr Sarkozy as a leftist? Hint: he forced Aventis to merge within Sanofi-Synthelabo to build a French champion and not to let Novartis get it. He also France will help Alstom (that is to say putting money from tax to a private company) so it won't be bought by Siemens. Callixte.[^]
-
Yahoo! IM = MalWare