ary_replace_subP_testSimple start time : 20Apr2022 19h04m02s +--+-----+------------------------------------------------------------------------------------------+--------- |OK|test#|dat0 |dat1 +--+-----+------------------------------------------------------------------------------------------+--------- | o|t01 |Hello to my new big to see something |+--+----+ | | | ||to|toys| | | | |+--+----+ +--+-----+------------------------------------------------------------------------------------------+--------- | o|t02 |Hello to my new big to see something |+----+--- | | | ||ew b|din | | | |+----+--- +--+-----+------------------------------------------------------------------------------------------+--------- | o|t03 |Hello to my new big to see something |+-------- | | | ||new big | | | |+-------- +--+-----+------------------------------------------------------------------------------------------+--------- | o|t04 |Hello to my new big to see something |+-------+ | | | ||new big| | | | |+-------+ +--+-----+------------------------------------------------------------------------------------------+--------- | o|t05 |Hello to my new big to see something |+-------- | | | ||airplane | | | |+-------- +--+-----+------------------------------------------------------------------------------------------+--------- | o|t20 |Bi(r,v,t) = q/c*(vrp)/rs^3 = (v/c)E0(r,t) |+------+- | | | ||vrp|r | | | |+------+- +--+-----+------------------------------------------------------------------------------------------+--------- | o|t21 |e^2*(r·b)*r(rb)/|r2 - r1|^2*6*Bpe^2*Bep^2*(-3/2/π) |+-------- | | | ||·b)*r | | | |+-------- +--+-----+------------------------------------------------------------------------------------------+--------- | o|t22 |[·dl : E(r´,t´)] = -1/c*dp[dt : [dA : B(r,t) •n]] .and.[·dl : E(r´,t´)]|+-+---+ | | | ||d|| | | | |+-+---+ +--+-----+------------------------------------------------------------------------------------------+--------- | o|t23 |r/r/sinO *[ ∂/∂O(sinO*Ei(rp,t)·Pp) - ∂/∂P(Ei(rp,t)·O |+-+----+ | | | ||r|r| | | | |+-+----+ +--+-----+------------------------------------------------------------------------------------------+--------- | o|t30 |- has the term "(ros*cosOo - vos*t)/Rpcs(POIp)" in the first term in parenthesis. |+-------- | | | ||ro - vo* | | | |+-------- +--+-----+------------------------------------------------------------------------------------------+--------- | o|t31 |- has the term "(ros*cosOo - vos*t)/|ro - vo*t|" in the first term in parenthesis. |+++ | | | |||| | | | |+++ +--+-----+------------------------------------------------------------------------------------------+--------- | o|t32 |- has the term "(ros*cosOo - vos*t)/Rpcs(POIp)" in the first term in parenthesis. |+---++ | | | ||ros|| | | | |+---++ +--+-----+------------------------------------------------------------------------------------------+--------- | o|t33 |- has the term "(ros*cosOo - vos*t)/|ro - vo*t|" in the first term in parenthesis. |+++ | | | |||| | | | |+++ +--+-----+------------------------------------------------------------------------------------------+--------- ~~...~~ ----------------+ | ----------------+ | | | ----------------+ -----+ | osaur| | -----+ | ----------------+ +--------+ | |dinosaur| | +--------+ | ----------------+ --------+ | dinosaur| | --------+ | ----------------+ +--------+ | |dinosaur| | +--------+ | ----------------+ ---+ | ·b| | ---+ | ----------------+ -+-------------+| |soup ·b)*·b|| -+-------------+| ----------------+ | | | ----------------+ | | | ----------------+ -+------------+ | t||Rpcv(POIp)|| | -+------------+ | ----------------+ | | | ----------------+ | | | ----------------+ | | | ----------------+ ~~...~~ +--+-----+-----------------+ |OK|test#|calc | +--+-----+-----------------+ | o|t01 |?not an operation| +--+-----+-----------------+ | o|t02 |?not an operation| +--+-----+-----------------+ | o|t03 |?not an operation| +--+-----+-----------------+ | o|t04 |?not an operation| +--+-----+-----------------+ | o|t05 |?not an operation| +--+-----+-----------------+ | o|t20 |?not an operation| +--+-----+-----------------+ | o|t21 |?not an operation| +--+-----+-----------------+ | o|t22 |?not an operation| +--+-----+-----------------+ | o|t23 |?not an operation| +--+-----+-----------------+ | o|t30 |?not an operation| +--+-----+-----------------+ | o|t31 |?not an operation| +--+-----+-----------------+ | o|t32 |?not an operation| +--+-----+-----------------+ | o|t33 |?not an operation| +--+-----+-----------------+ +--+-----+---------------------------------------------------------------------------------------------------- |OK|test#|comments +--+-----+---------------------------------------------------------------------------------------------------- | o|t01 |comment? +--+-----+---------------------------------------------------------------------------------------------------- | o|t02 |comment? +--+-----+---------------------------------------------------------------------------------------------------- | o|t03 |ary_replace_subP applies to text - removes space between sub_new and next word +--+-----+---------------------------------------------------------------------------------------------------- | o|t04 |comment? +--+-----+---------------------------------------------------------------------------------------------------- | o|t05 |comment? +--+-----+---------------------------------------------------------------------------------------------------- | o|t20 |unicode - tests placement and characters +--+-----+---------------------------------------------------------------------------------------------------- | o|t21 |unicode - tests placement and characters +--+-----+---------------------------------------------------------------------------------------------------- | o|t22 |unicode - tests placement and characters +--+-----+---------------------------------------------------------------------------------------------------- | o|t23 |unicode - tests placement and characters, note substitution even within symbol, double forward prime +--+-----+---------------------------------------------------------------------------------------------------- | o|t30 |sub_old isn"t in the string - so the original string is simply returned (no substitution) +--+-----+---------------------------------------------------------------------------------------------------- | o|t31 |This checks null [sub_old,sub_new] inputs - should return the string +--+-----+---------------------------------------------------------------------------------------------------- | o|t32 |INTERESTING : This checks null sub_old input - should return the string without sub_old, but returns +--+-----+---------------------------------------------------------------------------------------------------- | o|t33 |This checks null sub_new inputs - should return the original string +--+-----+---------------------------------------------------------------------------------------------------- ~~...~~ ----------------------------------+ | ----------------------------------+ | ----------------------------------+ | ----------------------------------+ | ----------------------------------+ | ----------------------------------+ | ----------------------------------+ | ----------------------------------+ | ----------------------------------+ | ----------------------------------+ | ----------------------------------+ | ----------------------------------+ | ----------------------------------+ original string (no substitution)| ----------------------------------+ | ----------------------------------+ ~~...~~