have free in C?
Thanks,
Durga SomeswaraRao G.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
To view this
Hi,
I am trying to read multi line user input, which I don't know the count of
those lines. Is there any way to do it.
Eg:
User will give one sample piece of code like below we have to read complete
code without skipping content. As it is a piece of code we cannot get
number of lines we have
anyway
to handle this in golang.
Regex Syntax: https://github.com/google/re2/wiki/Syntax
Sample Code: https://play.golang.org/p/SwODqNNJtBN
Thanks,
Durga SomeswaraRao G.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe
Thanks Michel.
On Wed, Aug 28, 2019 at 5:53 PM Michel Levieux
wrote:
> https://golang.org/ref/spec#String_literals
>
> Here you go.
>
>
> Le mer. 28 août 2019 à 14:05, Durga Someswararao G <
> durgasomeswararao...@gmail.com> a écrit :
>
>> Hi Martin,
>&
t;\\n" && `\\` == ""). Could it
> be, that you accidentally used those raw string literals in the producer
> code with the newline escape sequence that is not supported?
>
>
>
> On 28.08.19 12:32, Durga Someswararao G wrote:
> > Hi,
> >
> >
tring, or call a method
> that does it before sending it via tcp? That would explain that all the
> "\n" become "\\n".
>
> Le mer. 28 août 2019 à 12:17, Durga Someswararao G <
> durgasomeswararao...@gmail.com> a écrit :
>
>> Hi Tamás,
>>
&
Hi Tamás,
But even in other side also I am using golang to convert string into bytes.
Using tcp connection with net package I am getting data from other process.
FYI
When I try to replace string with \\n it was working fine.
Like below:
processoutput = strings.Replace("String 1\n String
2","\\n"
be that your input has not the newline byte, but
> instead the escaped sequence '\' and 'n'? Then you would need
> to use the escape sequence for the slash in the search string:
>
> https://play.golang.org/p/O-c76dM_E5B
>
>
> On 27.08.19 20:06, Durga S
Hi,
Can anyone help me in this case.
I was reading byte data(array of bytes) from another process and converted
that data to string. Now I am trying to replace escape sequences \n with
strings.Replace function but golang not detecting it.
Even I tried with bytes.Replace function but no use.
A
That you have to run from sudo level ( I mean from root level).
First do like this
For ubuntu : sudo -s
For other linux distributions like centos,suse : su
Then it will ask for password.
Then run your make file/go build. It looks like your make file is trying to
use some config files that's why i
Hi,
Thanks for your reply. Now I got the clear idea.
On Tue, Mar 5, 2019 at 10:44 PM Marcin Romaszewicz
wrote:
> os.Setenv only changes the environment variables in your process and in
> any future child processes. It's not actually possible to change the
> environment of your parent process or
Thanks.
On Fri, Jan 25, 2019 at 2:54 PM Wagner Riffel wrote:
> there is nothing to do with special characters in the example you
> shown, your xml data is just invalid xml, you're missing root element,
> just add it and it should work:
> CPUêÿ
> btw here is a short version of your program on pla
12 matches
Mail list logo