cjosta@tasu77.UUCP (Jonathan Sweedler) (03/23/89)
Does anyone have a description of the syntax for V8 regular expressions. I am trying to use regular expressions in perl, but the man page does not give a complete description of R.E., it just says that they are the same as the V8 R.E. Specifically, I am looking for a way to match X occurances of a character. I read the 'ed' manual, and it said to use the '\{', '\}' syntax, but I tried this in perl and it didn't work. i.e. I did 's/d\{3\}/dog/;' to change 'ddd' into 'dog' (please don't tell me I can just do 's/ddd/dog/;' !!). I assume V8 uses a different syntax (or doesn't have this functionality). If anyone has a complete description of the V8 R.E. I would appreciate it if you could send it to me. Thanks in advance. Jonathan Sweedler === National Semiconductor Israel UUCP: ...!{amdahl,hplabs,decwrl}!nsc!taux01!cjosta Domain: cjosta@taux01.nsc.com