Re: [pcre-dev] EBCDIC many faces

トップ ページ
このメッセージを削除
著者: Ze'ev Atlas
日付:  
To: pcre-dev@exim.org
題目: Re: [pcre-dev] EBCDIC many faces
Good Morning Phil
I need an adviceIn designing the conversion between EBCDIC code pages for PCRE2 I decided to make the API as simple as possible for the user and reduce overhead as much as possible.  I am asking the user for example to tell me what is the estimated max length of the pattern and subject string so I can allocate them one time for the whole run (memory is usually not an issue in z/OS systems).The main issue is the ovector and converting back to the locale environment code page.  Should I release the memory and reallocate for any execution of a pattern or is there  a better way.
Oh, and a silly question!  How do I know the length of the subject sting? Ze'ev Atlas