Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Browse by Tags
MSDN Blogs
>
BCL Team Blog
>
All Tags
>
parsing
Server & Tools Blogs
>
Developer Tools Blogs
>
Base Class Library Blog
Executive Bloggers
S. Somasegar
Brian Harry
Scott Guthrie
Jason Zander
Visual Studio
Visual Studio
Blend
LightSwitch
Line of Business Apps by Beth Massi
Setup & Install by Heath Stewart
Application Lifecycle Management
Visual Studio ALM
Team Foundation Service
Languages
Visual Basic
Visual C#
Visual C++
Visual F#
JavaScript
.NET Framework
.NET Framework
.NET Parallel Programming
ADO.NET (Managed Providers, DataSet & EF)
ASP.NET by Scott Hanselman
Base Class Library (BCL)
Silverlight
WCF Data Services
Workflow
Platform Development
Internet Explorer
Apps for Office and SharePoint 2013
SharePoint
Office
Web
Windows 8
Windows Store
Windows Azure
Windows Phone
Base Class Library (BCL) Blog
Base types, Collections, Diagnostics, IO, RegEx…
Subscribe
Comments
Contact
Menu
Blog Home
Atom
Translate this page
Powered by
Microsoft® Translator
Recent Posts
Portable HttpClient is now available as RC
Posted
15 hours ago
by
Immo Landwerth [MSFT]
0
Comments
Social Engineering
Posted
29 days ago
by
Immo Landwerth [MSFT]
0
Comments
Microsoft.Bcl.Async is Now Stable
Posted
1 month ago
by
Immo Landwerth [MSFT]
46
Comments
Inner Workings of Immutable Collections on Channel 9
Posted
2 months ago
by
Immo Landwerth [MSFT]
2
Comments
Live Now on Developer Tools Blogs
Tags
API
datatype
Globalization
managed
RegEx
Time and Calendar
Related resources
Visual Studio Developer Center
Visual Studio Product Website
Archives
Archives
May 2013
(1)
April 2013
(2)
March 2013
(2)
February 2013
(1)
January 2013
(1)
December 2012
(1)
October 2012
(1)
August 2012
(1)
June 2012
(2)
May 2012
(2)
April 2012
(2)
March 2012
(1)
December 2011
(2)
November 2011
(4)
October 2011
(2)
June 2011
(1)
May 2011
(2)
April 2011
(2)
March 2011
(1)
January 2011
(1)
November 2010
(1)
October 2010
(1)
August 2010
(1)
July 2010
(1)
June 2010
(2)
May 2010
(1)
April 2010
(1)
March 2010
(1)
January 2010
(1)
November 2009
(1)
October 2009
(1)
August 2009
(1)
July 2009
(2)
June 2009
(1)
May 2009
(1)
February 2009
(3)
January 2009
(1)
November 2008
(2)
October 2008
(2)
July 2008
(1)
June 2008
(3)
May 2008
(1)
April 2008
(1)
January 2008
(1)
November 2007
(4)
October 2007
(2)
August 2007
(3)
July 2007
(3)
June 2007
(7)
May 2007
(5)
April 2007
(4)
March 2007
(2)
February 2007
(1)
January 2007
(2)
December 2006
(1)
November 2006
(2)
October 2006
(8)
September 2006
(2)
August 2006
(3)
July 2006
(7)
June 2006
(5)
May 2006
(11)
April 2006
(16)
March 2006
(1)
January 2006
(1)
October 2005
(6)
September 2005
(5)
August 2005
(3)
July 2005
(2)
June 2005
(5)
April 2005
(3)
March 2005
(41)
February 2005
(7)
January 2005
(4)
December 2004
(8)
November 2004
(14)
October 2004
(9)
September 2004
(6)
August 2004
(6)
July 2004
(1)
June 2004
(2)
May 2004
(3)
March 2004
(2)
January 2004
(15)
December 2003
(3)
November 2003
(9)
October 2003
(5)
More
▼
Less
▲
Tagged Content List
Blog Post:
Unexpected effects of the RegEx SET operator [Greg]
BCL Team
Regular Expressions (RegEx) are a powerful tool for searching for text that matches specific patterns, but it is also a complex tool that requires care and attention to detail. There are many caveats to using RegEx. Ron has recently published a few excellent blog posts on the .NET RegEx engine [ part...
on
2 May 2011
Blog Post:
Parsing Non-Standard Date and Time Formats [Ron Petrusha]
BCL Team
Frequently, particularly when dealing with remote data collection devices, an application receives string data containing date and time information that must be converted to either DateTime or DateTimeOffset values. In these cases, the most commonly used parsing methods, the overloads of the DateTime...
on
13 Apr 2011
Blog Post:
.NET Regular Expressions: Regex and Balanced Matching [Ryan Byington]
BCL Team
One of the questions that seems to come up a lot is that someone wants to match balanced parenthesis. Something like the string “(aa (bbb) (bbb) aa)” and they want to match from the beginning parenthesis to the matching end parenthesis. Generally this is not possible with regular expression, that language...
on
15 Mar 2005
Blog Post:
.NET Regular Expressions: how to use RegexOptions.IgnorePatternWhitspace [Ryan Byington]
BCL Team
The IgnorePatternWhitespace option tells the Regex parser to ignore any spaces or tabs in your expression except if it is in a character class(ie [ ]). At first this may not seem all that useful but it really can increase the readability of a regular expression. Plus you can add comments to your expression...
on
15 Mar 2005
Blog Post:
New Format on the Block [Anthony Moore]
BCL Team
One thing that has not changed much in Whidbey is the set of format strings used by base data types for parsing and formatting. However, there is one new format element supported by the DateTime class that can be very useful if you use the ParseExact method to parse XML. There is a new format element...
on
9 Mar 2005
Blog Post:
How to Work Around Problems Serializing DateTime in XML [Anthony Moore]
BCL Team
I wrote a while ago about problems with the way DateTime worked with features like DataSet, XML Serialization (WebServices) and XmlConvert. Basically, DateTime is always treated as a local time by these XML-based systems, which means that you get incorrect results if you use UTC or whole dates with them...
on
7 Mar 2005
Blog Post:
Regex hangs with my expression [David Gutierrez]
BCL Team
Well, actually, it doesn't hang. It just takes a really really long time, and you haven't waited long enough for it to finish. One of the pitfalls with regular expression is that you can write expressions which don't perform very well. In particular, you can end up with expressions whose search time...
on
10 Feb 2005
Blog Post:
DateTime Parsing and Formatting with Time Zones [Anthony Moore]
BCL Team
Here is a new DateTim FAQ entry. What is the relationship between DateTime parsing and formatting and the time zone? Before reading below, see this entry for a more practical description of how to using formatting and parsing for the purposes of storing dates and times, which is where you are most likely...
on
20 Dec 2004
Blog Post:
Regular Expression performance [David Gutierrez]
BCL Team
I often get questions about Regex and what the RegexOptions.Compiled flag actually does. There are in fact three different modes that Regex can work in: interpreted (without the compiled flag), compiled on the fly (with the compiled flag), and precompiled . Each of these modes has its own trade offs...
on
12 Nov 2004
Blog Post:
Kick Off the Blog with a TryParse sample!
BCL Team
Well, I though I would kick off the BCL blog with a sample of TryParse. TryParse methods have been added to all the base datatypes in Whidbey (previously, TryParse was only available on the Double type). The TryParse demo is available on the new BCL website . The demo allows you to compare the speed...
on
22 Oct 2003
Page 1 of 1 (10 items)