Regular Express



I want to match either div and hash if the are enclosed with { } even
if there are other char in between. For example

Assume I have the following code

{def hash = div( 'common')}
<div>

I would like to match the first div but not the second. I tried this but no help

^{*\b(div|hash)\b*\}

--
OOzy
Ubuntu-Feisty

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: newbie: ? valign top how ?
    ... >> Home LINK LINK LINK etc...in a cell with a background ... >> putting a cell in with a background is simple. ... be replaced by more semantically neutral elements, but div soup plus ... > The first div tag establishes a box within the body inside which the ...
    (alt.html)
  • Re: Different rendering with div versus table data
    ... The second DIV in test2.html extends *underneath* the first DIV. ... Thus the left margin of your LI and DD elements are underneath the first ...
    (comp.infosystems.www.authoring.html)
  • Re: printf question, leading zero in E format?
    ... Is it possible to force it always to have leading zero? ... void outputExp(float value, char total) ... // NUMBER HAS A POSITVE EXPONENT ... xdata long div = 100000000; ...
    (comp.lang.c)
  • Re: printf question, leading zero in E format?
    ... Is it possible to force it always to have leading zero? ... void outputExp(float value, char total) ... // NUMBER HAS A POSITVE EXPONENT ... xdata long div = 100000000; ...
    (comp.lang.c)
  • div manipulation inside tr
    ... I have dropdown with 3 options ... third - display another form ... first div originally hidden ... second div originally hidden ...
    (microsoft.public.scripting.jscript)