Click here to Skip to main content
11,791,059 members (48,905 online)
Click here to Skip to main content

Parsing a postfix expression in C#, my naive approach

, 30 Nov 2010 CPOL 4.4K 1
Regex combined = new Regex(@"\G(\s+(?[+-*/])|\s*(?-?[0-9]+))", RegexOptions.ExplicitCapture);this line have error:parsing "\G(\s+(?[+-*/])|\s*(?-?[0-9]+))" - [x-y] range in reverse order.
This is an old version of the currently published tip/trick.

This article is still being written and is not currently available for general viewing.

Please go to the Algorithms & Recipes Table of Contents to view the list of available articles in this section.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.1509028.1 | Last Updated 30 Nov 2010
Article Copyright 2010 by YangChunJiang
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid