<< | Index | >>
use String#scan
for multi(times) match.
desc.match(/.*\n?.*#{term}.*\n?.*/i) desc.scan(/.*\n?.*#{term}.*\n?.*/i)
warm-up (prepare Registrations in memory)
class FachinfoSearch < View::PrivateTemplate CONTENT = View::Drugs::FachinfoSearchComposite SNAPBACK_EVENT = :result JAVASCRIPTS = ['admin'] def init # warm-up @session.app.registrations.length super en
EAN-Code; Pharmacode; Name; Search Match