Re: Search Pattern Question: What does # mean?



On 6/6/05, Siegfried Heintze wrote:
> I'm using regular expressions to parse job titles and I had C# in a pattern
> and it was not working correctly. I corrected the problem with C\#. What
> does C# match?
>

"#" has no special meaning in REs (it's not a metacharacter), so you
would have to show us some code that fails with the above pattern.
Off-hand I can't think of any reason why "C\#" would match while "C#"
would not.

Regards,
--
Offer Kaye
.



Relevant Pages

  • Re: YA Regex problem: lookahead assertion
    ... I have to admit this problem wasn't as simple as I initially thought - ... Maybe someone with more knowledge of REs can answer? ... Regards, ... Offer Kaye ...
    (perl.beginners)
  • Re: Frage zu den Abkuerzungen
    ... Trotzdem ist der Nominativ auch ein Plural, also "res ... Andreas ... Prev by Date: ...
    (de.etc.sprache.deutsch)
  • Re: HELP: WG 27K7502 Med Resolution monitor
    ... which generates several different resolutions including the EGA (medium ... res) standard. ... Prev by Date: ...
    (rec.games.video.arcade.collecting)
  • Aldi scanner
    ... Anyone recommend the Tevion scanner the Aldi store stocks ?.4800x9600 res. ... It comes with hardware to scan negatives. ... Brian ... Prev by Date: ...
    (comp.periphs.scanners)
  • =?iso-8859-1?q?Re:_Definici=F3n_de_"naci=F3"?=
    ... De res, solet. ... Agustí Roig ... Prev by Date: ...
    (soc.culture.catalan)