Click here to Skip to main content
Click here to Skip to main content

Parsing a postfix expression in C#, my naive approach

, 30 Nov 2010 CPOL
Regex combined = new Regex(@"\G(\s+(?[+-*/])|\s*(?-?[0-9]+))", RegexOptions.ExplicitCapture);this line has 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.
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.141216.1 | Last Updated 30 Nov 2010
Article Copyright 2010 by YangChunJiang
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid