As I just learned from this question, .NET regexes can access individual matches within a repeated capturing group.
I. e., if I apply a regex like \b(\w+\s*)+ to a string of words, only the last word will be stored in \1 or Match.Groups(1).Value, but using Match.Groups(1).Captures I get access to all the individual matches the regex iterated…
hi,
how can I fix this problem on Internet Explorer 7:
If I resize the browser window you'll see that the letters of the last tag on the right (in the header) are displayed in vertical one above each other.
This happen only in IE, and not in other browser (you can better see the bug by visiting the website:…
i use the statement drop trigger if exist TRIGGER in sqlite but sql server doesnt like the if statement. (i guess exist is the offending word). I do this right next to my create trigger statement because i want to drop older triggers with the same name so i can replace it with this new one.
How do i do this…
<?php
namespace default
gives me an unexpecected T_DEFAULT, is there any way of working around this? Can I escape the reserved word somehow?
My system uses the name of the current module in my site for the namespace so it would be nice to be able to use any string as a namespace.
How to do processing on hindi text using c++ in linux any suggestions.
I want to read a hindi text from file encoded in UTF-8 and process it that is to find a
specific word from that . How can we do it??
Hi,
I would like to multi-thread an application, however one library i'm using is not multi-thread capable (i don't know what's the right word ? synchronized ?).
What are my options ?
As far as i know there's nothing in between threads and processes (Runtime.exec) in java (no abstraction in the jvm to…
Is it possible to add extra languages to Android? My current Android phone only supports English and Chinese language input. I would like to have Dutch also, as I can use it for word completion. The question on top of that is, how to switch easily between these languages in the text input (keyboard) GUI?
can I add BehaviorID attribute for asp.net textbox and use it to be recognize by java script??
On other word, I want to to apply some java script function on asp.net text box and I want to let the java script find the asp.net text box by the BehaviorID.
Im trying to reset $i to 0 and print the word margin...is this doable the way im trying to pull it off?
class="customGal'.($i == '2' ? $i = '0' && 'margin' : NULL).'"
Thanks in advance.
I have a text:
<font class="myclass">class abc</font>
and i have a pattern: class
now, i want to find the word "class" before "abc" but not in the <font class="myclass"> ,how could i do with RegExp in javascript?
Thanks! :)
I have several C++ strings with some words. I need to get first word from every string. Then I have to put all of them into a char array. How can I do it?
Thanks i advance!
I have a string for example like " :)text :)text:) :-) word :-( " i need append it in textbox(or somewhere else), with condition:
Instead of ':)' ,':-(', etc. need to call function which enter specific symbol
I thinck exists solution with Finite-state machine, but how implement it don't know. Waiting…
I have a small load-balanced (using Session Broker) Terminal Server 2008 farm behind a Gateway Server which is accessed from the Internet. The problem I have is that there is a delay of 20-30 seconds if the session broker switches the user to another server during login. I think this is related to the…
What keyboard shortcuts do you use in Excel?
Things I've discovered recently and found very useful are:
Shift + Space - select the current row
Ctrl + Space - select the current column
Ctrl + Shift + Space - select the block of contiguous cell
Ctrl + + - Insert (as in the context menu). If the…
Background
I'd like to have Outlook 2010 automatically move e-mails into folders designated by the person's name. For example:
Click Rules
Click Manage Rules & Alerts
Click New Rule
Select "Move messages from someone to a folder"
Click Next
The following dialog is shown:
Problem
The…
I recently obtained an older Android phone, so that I could test Android Apps on it. I've needed it because I have a Nexus 7 but not older Android versions, hardware, etc. to test on.
I'm having a problem with it under Linux Mint with Cinnamon. When I plug the phone in, or remove and plug the…
Im using Mac excel 2011 and I can't seem to get Macro to work. What I am trying to do is that in Worksheet (1st) I am trying to get all of the data entered in the Cases Table at the bottom to all be automatically inserted into the table in the "Cases" worksheet when I click on the "Update"…
I've received a bunch of text data files consiting of Lots of records (30K/file) of 3 fields each of 5-place numbers in exponential format: s0.nnnnnEsee (where s is +/-, n is a digit and ee is the exponent (always 2 digit). When I open the file in Notepad, the format is perfectly uniform…
Back story:
I have Outlook connected to my Google Apps email and noticed that some mail never got migrated from my original PST file. I found some VBA code online that compares mail in different PST folders, modified it to find missing and copy those to the target folder. I ran it folder…
I am hoping one of you will be able to help get me started on this issue. I need to create some sort of macro or VBA code to split and manipulate rows of data in Excel.
For this example, we have 5 rows of data. The first 3 rows are item information for Order # 0000000000-00 and the…
I have an Excel spreadsheet that has a complex computation that is not trivial to turn into a macro or a single-cell formula. The spreadsheet has a about 10 different inputs (values a human enters in different cells of the spreadsheet) and then it outputs 5 independent calculations…
I am using the below information to auto-forward my work emails to my BB via a gmail account. The script works fine.
But my work email ask's for every email to send either classifield or unclassified.
What and where would I add into the below script to autoforward unclassified?
I…