Span text

Ian's PHP ren .c (as in rename.c from a c program once written)

Version 5.09 1/10/17. Works ok. Not 100% checked for bugs.
This contains the code to do a wild card match which selects/and or converts a string (typically a file name) to another string.
It uses two wild card strings. (It uses a highly recursive algorithm.)
The wild cards are '#' which matches an arbitrary number of characters, and '?' which matches only 1.
The wild card sequences in the two strings must be identical and in correct order or it will report an error.
To use this demo, you can edit the list of names in the text box.
The only possible mode is ren .c 2, which matches and creates a second string.
Clicking on the Do Name List button will apply the algorithm to all the names in the text box. You can edit these.
(Too many may cause a fault.)
Clicking on the Do Text Input Boxes button will apply the algorithm to the string in Data Str 1


View source: Main File: csf_ren_c2_menu_tst1.php
Include File: spiro_numpars_inc.php


Data Input Form
Mode select radio buttons. (Currently only 1 option.)
Ren.c (2)
Wild Card String 1:
Data Str 1
Wild Card String 2:

Test 'filename' list.


,




_GET['submit']is not set.



Goodbye 4