I am trying to grab all the blocks that have :\w ... type = ... :\w with @blocks = /:\w.*? type = .*?:\w/s where I have the text as a scalar and I want to ignore anythhing with :\w ... :\w with no type = inbetween
amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 15:OBFCYCXYE12S amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 17: -98uA*((1.3465+(-0.0073193*(55+temperature)))+(0.00060726* +((55+temperature)^1.3646)))/1.08790902930332 < ipu < -38uA*((1.3465+( +-0.0073193*(55+temperature)))+(0.00060726*((55+temperature)^1.3646))) +/0.872973017262164, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 18: 38uA*((1.3465+(-0.0073193*(55+temperature)))+(0.00060726*( +(55+temperature)^1.3646)))/0.872973017262164 < ipd < 98uA*((1.3465+(- +0.0073193*(55+temperature)))+(0.00060726*((55+temperature)^1.3646)))/ +1.08790902930332, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 19: -10uA < iil < 10uA, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 20: -10uA < iih < 10uA, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 21: -0.5v < vi_max < (1.10 * Vdd), amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 22: -100mA < i_max < 100mA, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 23: -1.10v < vdiode_vss < -0.20v, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 24: 0.0v < vin < 3.63v, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 25: (Vdd - 0.4) < voh < Vdd, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 26: 0.0v < vol < 0.4v, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 27: iol = 12mA, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 28: ioh = -12mA; amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 30:iohstl152dax amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 32: -10uA < iil < 10uA, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 33: -10uA < iih < 10uA, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 34: -0.5v < vi_max < (1.10 * Vdd), amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 35: -100mA < i_max < 100mA, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 36: -1.10v < vdiode_vss < -0.20v, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 31: type = digital_bidir, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 37: 0.20v < vdiode_vdd < 1.10v, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 38: 0.2v < vd < 1.2v, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 39: 0.0v < vcm < VCC, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 40: (Vdd - 0.4) < voh < Vdd, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 41: 0.0v < vol < 0.4v, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 42: iol = 16mA, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 43: ioh = -16mA; amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 45:IOFCXVCVCXVE12S amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 46: type = digital_bidir, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 47: 1.16v < vih < Vdd, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 48: 0.0v < vil < 0.49v, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 49: -98uA*((1.3465+(-0.0073193*(55+temperature)))+(0.00060726* +((55+temperature)^1.3646)))/1.08790902930332 < ipu < -38uA*((1.3465+( +-0.0073193*(55+temperature)))+(0.00060726*((55+temperature)^1.3646))) +/0.872973017262164, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 50: 38uA*((1.3465+(-0.0073193*(55+temperature)))+(0.00060726*( +(55+temperature)^1.3646)))/0.872973017262164 < ipd < 98uA*((1.3465+(- +0.0073193*(55+temperature)))+(0.00060726*((55+temperature)^1.3646)))/ +1.08790902930332, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 51: -10uA < iil < 10uA, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 52: -10uA < iih < 10uA, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 53: -0.5v < vi_max < (1.10 * Vdd), amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 54: -100mA < i_max < 100mA, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 55: -1.10v < vdiode_vss < -0.20v, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 56: 0.20v < vdiode_vdd < 1.10v, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 57: (Vdd - 0.4) < voh < Vdd, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 58: 0.0v < vol < 0.4v, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 59: iol = 12mA, amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 60: ioh = -12mA; amis150hx/logic/scl/amis150hxapra/current/amis150hxapra_bc_1.65v_m40c. +scl 45:IOFCXVCVCXVE12

In reply to grabbing chunks of text by spencerd

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.