dodash (2) --- expand subrange of a set of characters 01/07/83 _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n subroutine dodash (valid, array, i, set, j, maxset) character valid (ARB), array (ARB), set (maxset) integer i, j, maxset Library: vswtlb (standard Subsystem library) _F_u_n_c_t_i_o_n 'Dodash' expands character ranges given in regular expres- sions. 'Valid' is the set of valid characters in the expansion range (e.g. A-Z for upper case letters, 0-9 for digits, etc.). 'Array' contains the character range string, starting at position 'i'-1. 'Set' not only is the recipient of the expansion, but element 'j'-1 contains the initial character of the range. 'Maxset' is the maximum size 'set' may attain. _I_m_p_l_e_m_e_n_t_a_t_i_o_n The indices of the first and last characters in the range are determined, and the substring of 'valid' thus selected is copied into 'set'. _A_r_g_u_m_e_n_t_s _M_o_d_i_f_i_e_d i, set, j _C_a_l_l_s addset, esc, index _S_e_e _A_l_s_o makpat (2), tlit (1), ed (1), se (1) dodash (2) - 1 - dodash (2)