I am trying to replace all instances
$offer->variablenames
from
$offer['variablenames']
Is it possible? I am using the extended find plugin for gedit.
These are just heiroglyphs for me ... I would really like the help.Thanks
Find what:
\$offer\-\>([a-zA-Z0-9_]*)
Replaced by:
$offer['\1']
Make sure the Regular expression checkbox is Regular expression .
Regular expression
I am not sure what the extended syntax of the find plugin is. In vim, I would use s/$offer->\(.*\)/$offer['\1']/g
s/$offer->\(.*\)/$offer['\1']/g
Source: https://habr.com/ru/post/1396889/More articles:Modify the com.sun.org.apache.xml.internal.serialize.XMLSerializer & com.sun.org.apache.xml.internal.serialize.OutputFormat file - javaHow to sum groups in Solr? - group-byMATLAB: Linear Regression - matlabSlave job parameterization - hudsonWhat does my processor do when it is referred to as a "system processor"? - profilingAttribute syntax in Delphi 2009 RTL / VCL? - delphiClojure app does not start with Heroku; Alef + RedisToGo timeout - clojureDelete all namespaces in lxml? - pythonSorting a complex array of arrays by value inside - javascriptIs there a way to create a new foreign key political relationship in Salesforce.com? - salesforceAll Articles