s2

Implementation level
Type Status
CML extraction template image0
HTML5 representation image1
Template attributes
Attribute Value
source Turbomole log
id s2
name Squared S
pattern \s*WS*SW.*
endPattern .*
endOffset 0
repeat *
xml:base s2.xml

Input.

<S*S>     6.00921167

Output text.

<comment class="example.output" id="s2">
      <module cmlx:lineCount="1" cmlx:templateRef="s2">
        <scalar dataType="xsd:double" dictRef="cc:s2">6.00921167</scalar>
      </module>
    </comment>

Template definition.

<record id="s2">\s*\WS\*S\W{F,cc:s2}</record>
<transform process="pullup" xpath=".//cml:scalar[@dictRef='cc:s2']" />
<transform process="delete" xpath=".//cml:list" />