TWiki
>
Main Web
>
CodeConversionOneLinersForVim
(2017-08-16,
ZachBornheimer
)
E
dit
A
ttach
Code Conversion One Liners for Vim
Page contents
PHP
eregi to preg_match
This documents useful commands for converting code from one language or one version of a language to another using the VIM text editor.
PHP
eregi to preg_match
:%s/eregi("\(.*\)",/preg_match("|\1|",/g
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
R
aw View
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2017-08-16
-
ZachBornheimer
Main
Log In
or
Register
Main Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Webs
Main
Sandbox
TWiki
UserTutorials
Copyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback