The use of regular expression in otomax is for caching response reply from provider. Some provider will reply different response that will make software confuse in traditional fixed answer. In otomax have the feature for caching the dynamic reply from operator. That's will make your caching reply to more accurate.
But the problem that regular expression not a simple thing to understand for non programmer. Thanks to Indonesia otomax user share. and all credit this post goes to Indonesian otomax user especially zen --.. . -. he was the guys guide most otomax user for understanding the regular expression use in otomax.
Here i attach some picture and sample of regular expression used in otomax.
But all i post here is translated from indonesian Version into english. The credit not from me, but from Indonesian otomax user.
But i i'm not fully understand Regular expression too, i hope you in here also share some knowledge to grow this regular expression too for solving more complex problem you faced in otomax.
Translated Version
Contoh ekspresi reguler untuk menambahkan paramater [keterangan]
Example of regular expression is for adding parameter [keterangan/description]
Jawaban dari Flexi transfer salah tujuan=Nomor penerima transfer tidak valid: Nomor Tanpa Kode Area, Grace, Not Active atau bukan nomor Trendy (pra-bayar). Permintaan Anda tidak diproses.
Response from flexi transfer for a number = Recharge targed not valide : without Area Code, Grace, Not Active or not a valid number for Trendy Card (prepaid). Your request not proceed.
Utk menambahkan keterangan pada jawaban reply ke reseller bisa di tuliskan sintak ekspresi reguler=(?<keterangan>Grace, Not Active)
atau bisa jg=(?<keterangan>Nomor penerima transfer tidak valid)
For adding keterangan(description into reply to reseller can be written with following reqular expression sintax=(?<keterangan>Grace,Not Active)
Trus di Format Balasan Tujuan Salah ditambahkan paramater [keterangan].=
[kodeproduk].[tujuan] GAGAL. [keterangan]. Nomor Tujuan SALAH atau Kodeproduk tidak sesuai.
Then in format Reply to from provider added an parameter [keterangan/Description]
[kodeproduk.[tujuan] GAGAL(Failed). [keterangan/description]. Recharge target Number Wrong or Product Code not match
Dan jawaban ke reseller akan jd seperti ini=FT10.03337787521 GAGAL. Grace, Not Active. Nomor Tujuan SALAH atau Kodeproduk tidak sesuai.
And reply to reseller will be like this = FT10.033337787521 Failed, Grace, Not Active. Number wrong or Product code mismatch for the number
Utk contoh regex yg kedua jawaban ke reseller menjadi=FT10.03337787521 GAGAL. Nomor penerima transfer tidak valid. Nomor Tujuan SALAH atau Kodeproduk tidak sesuai.
For second regex the both reply to reseller will be = FT10.03337787521 Failed. Number to be transfered not valid. Number wrong or product code missmatch with the number
[attachment deleted by admin]